In this article, we take a look at the basic settings of the IIS after GSX Analyzer has been installed and confirm that we are using the correct application pool and .NET Framework version. It is a good idea to check these settings when troubleshooting an unknown GSX Analyzer error, so that you establish for a fact that the URL you are using is pointing to the same folder you are looking at, and the correct Microsoft .NET Framework Version 4 is being used in IIS.
- Connection to Web Service failed.
- Unable to load WSDL.
- Unrecognized attribute 'targetFramework'.
How to Troubleshoot the Issue
The first thing to check is the IIS Services, to make sure they are running and available. For example, you may see the Connection to Web Service failed error message.
Once it is established that IIS is running as expected, follow this procedure to verify GSX Analyzer is running properly:
Type the URL: http://<server name>/service.asmx using the same server name and path as the GSX Analyzer website.
You should see a list of available services if this is successful.
If the test above is not successful, you will receive an error message:
In this particular example the GSX Analyzer services cannot run as the target Framework is incorrect:
Notice the message at the bottom highlighted in yellow. This IIS is using .NET Framework Version 2 and will need to be changed to version 4 to run GSX Analyzer. See below on where to change this.
How to Solve the Issue
Check your web site basic settings
First we will look at the basic settings of the web site to check the file path being used:
- Launch inetmgr, the IIS management console.
- On the left hand pane, expand Sites until you see the AnalyzerWebSite entry.
- Select AnalyzerWebSite.
- Click on Basic Settings in the Actions pane on the right hand side.
- This will open the settings of the GSX Analyzer web site:
- Take note of the Physical path.
- Take note of which application pool is selected (in our example, it is the DefaultAppPool). You will need this to verify the application pool settings (below).
- Click OK.
The web site physical path should be the same as the one where you installed and configured GSX Analyzer. If this is not the case, you will have to either update your GSX Analyzer installation or your IIS configuration for these two paths to match.
Check your Application Pool Settings
Here we will look at the configuration of the Application Pool selected in the GSX Analyzer web site settings and ensure everything is correctly configured:
- Open the IIS Management Console.
- In the left hand pane, select Application Pools.
- Locate the Application Pool used in the AnalyzerWebSite settings identified in the previous section.
- Select it.
- Click on the Basic Settings link to open the Application Pool settings:
- Make sure .NET Framework version 4 is selected.
- Make sure the Managed pipeline mode is set to Classic.
- If you make any changes here, run iisreset in a cmd prompt to Restart the IIS