Running PI Web API 2014R2 on a (domain-less) Win2008R2 server, i encounter some issues with Internet Explorer on a number of sites / customers. My results so far (not my area of expertise, and work in progress)
Typically, after installing the PI WEB API, you want to test if it works by pointing your browser to https://<<server>>/piwebapi. But it turns out, there are some pitfalls as IE does not support showing JSON responses in the browser...The WEB API's JSON responses are markes as contenttype= application.json, which seems to be the norm, but IE does not support that norm...
- Google Chrome from external computer: no problems at all...
- IE11 from external computer: asks to save the piwebapi.json file...
- Now this is hinted at in the troubleshooting section of the PI WEB API User Manual: After UNchecking "Display Intranet sites in Compatibility view", it works in IE11, without applying the registry hack below... In my case, the auto-detection of intranetsites was turned on, placing this site in the Intranet sites and therby kicking off this issue.
- IE8 locally on server: as this is a server, IE enhanced security turned on.
- Added local server (https://<<server>>) to Trusted Sites to bypass the enhanced security.
- Also unchecked the After UNchecking "Display Intranet sites in Compatibility view"
- At first, asks to download the piwebapi file (no extension). Now this is a known issue when researching the web. Most point to this StackOverflow article to configure IE through registry to open json in-place: http://stackoverflow.com/questions/2483771/how-can-i-convince-ie-to-simply-display-application-json-rather-than-offer-to-dow
- But after applying that, still my IE8 locally won't display the json response...
- Self-signed certificate on server.
- Set Anonymous authentication to rule out hop issues.