Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times.
After you install the OS you will need to install the following server features.
- IIS6 Management Compatibility
- IIS Management Console
- ISAPI Extentions
You will also need Procmon
We need to register ASP.DLL and to do this we need to run the following from the command line:
This will register the Classic ASP library in IIS 7
We need to configure the App Pool we are using to Enable 32 Bit Applications. This can be done by running the following from the command prompt:
appcmd set config -section:applicationPools -applicationPoolDefaults.e
Now you should create a test.asp file in order to test if ASP has been properly registered.
I've used this code:
Response.Write "This is the new www5"
This was throwing me the following error
This is the new www5 error '8002801d'
/test.asp, line 4
Here is where Procmon and Pstools come to work. Procmon is a really handy application which will help you trace any process that is running on the system. While using…