SYMPTOM
Users trying to connect to Strategy Office 9.4.1 and above when Strategy Web Services is hosted on IIS 7 get the following error message described in the image below:
Sample Code/Error
Client found response type of ‘text/html’, but expected ‘text/xml’. The request failed with the error message: <h2>500 – Internal server error.</h2> <h3>There is a problem with the resource you are looking for, and it cannot be displayed.</h3>
Properties could not be retrieved from Web Services at ‘http://<WSserver-name>/StrategyWS/MSTRWS.asmx’. Do you want to connect to a different Web Services URL?
IIS7.5 Detailed error – 500.24 – Internal Server Error Server error in Application “DEFAULT WEB SITE/StrategyWS” HTTP Error 500.24 – Internal Server Error An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode. Things you can try: (You can set “Classic .NET AppPool” to the name of another application pool running in Classic managed pipeline mode)
WORKAROUND
Instead of switching the managed pipeline mode, administrators should edit the web.config file located inside the installation folder for Strategy Web Services.
Add the following piece of code between </appSettings> and </configuration> tag:
Sample Code/Error
<system.webServer> <directoryBrowse enabled="false" /> <validation validateIntegratedModeConfiguration="false" /> <handlers accessPolicy="Read, Execute" /> <defaultDocument enabled="true"> <files> <add value="MSTRWS.asmx" /> </files> </defaultDocument> </system.webServer>