---
title: "How to Enable Classic IIS App Pools With Retrace"
slug: "net-agent-installation-enable-classic-iis-app-pools"
description: "Ensure StackifyHttpModule is registered in IIS for Retrace or Prefix. Choose from two options to add the module to your app or server. "
updated: 2018-08-18T17:23:56Z
published: 2018-08-18T17:23:56Z
canonical: "docs.stackify.com/net-agent-installation-enable-classic-iis-app-pools"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackify.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Enabling Classic IIS App Pools
When Stackify Retrace or Prefix is installed, StackifyHttpModule is registered in IIS. If you are using "classic" application pools, they will not automatically use Stackify's module. To fix this you can either add the module to your application's web.config and redeploy your app, or modify the master web.config on your server or PC to reference the module.
> Note: Some APM features may work without the module. Async requests and some other features may not work as expected.
## How to check the Pipeline mode of your App Pools
Open IIS Manager (Windows Feature) > Click App Pools. Here you can see the .NET version and the Pipeline Mode for you App pools.

## Option 1: Add StackifyHttpModule to your app and redeploy
You can install [the package from nuget](https://www.nuget.org/packages/StackifyHttpModule/) and then be sure to redeploy your app with the new dll and updated web.config.
```
PM> Install-Package StackifyHttpModule
```
You will then need to manually modify your web.config file to add the module under "system.web".
```xml
```
## Option 2: Add StackifyHttpModule to your server
*Note: If you added the module to your app and redeployed your app, you do not need to also reconfigure your server.*
### .NET 4.0 App Pools:
In both:
- C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.config
- C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config
Find the location of `<system.web><httpModules>` and add the following to register the module.
```xml
```
The file should similar to this:
```xml
```
Once the configuration changes have been made, save the change and recycle the app pool. This can be done in the IIS Manager.

### .NET 2.0 App Pools:
In both:
- C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Config\web.config
- C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config
Find the location of `<system.web><httpModules>` and add the following to register the module.
```xml
```
The file should look like the example below:
```xml
```
Once the configuration changes have been made save the change and recycle the app pool. This can be done in the IIS Manager.
