1. Home
  2. Troubleshooting
  3. Monitoring Issues
  4. Web Module
  5. Web Module – IIS – Error when accessing one or more sites on a multiple sites IIS server

Web Module – IIS – Error when accessing one or more sites on a multiple sites IIS server

If you cannot access one or more sites in an IIS Server with multiple sites after installing the Web Module, it is likely due to an incompatibility with the supported application frameworks, .NET Framework and .NET Core. Check our supported applications for Web monitoring.

Solution

.NET Framework Selection

When adding IIS monitoring on the AimBetter installation, if the framework selected was .NET Framework, a module named “AimBetter_Requests” is created for each site in the IIS server.

To remove AimBetter’s module from the site that has the incompatibility, proceed with the following instructions:

1- In the IIS Manager, select the site that cannot be accessed after the AimBetter installation of the IIS monitoring and select “Modules”.

2- Remove the AimBetter_ Requests module from this site.

3- Recycle the Application Pool of this site: In the left panel, click Application Pools. Find the pool your site is using, right-click it → Recycle.

.NET Core Selection

If the selected framework during installation is .NET Core, no module is created.

Instead, the AimBetter configuration is included as environment variables under the site’s configuration.

To remove this enviroment variable follow these steps:

1- Select the the relevant website and open the Configuration Editor.

2- Navigate to: system.webServer/aspNetCore/environmentVariables.

3- Remove the AimBetter variable defined here.