I had a bit a of trouble today getting some classic ASP pages to load in IIS 7. Here is what I had to do:
-
1. Install ASP Feature for IIS if it is not installed.
Server Manager -> Roles -> "Role Services" section : Check ASP under Application Development.
-
2. Check your application host config file for the line:
<add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST" modules="IsapiModule" scriptprocessor="C:\Windows\System32\inetsrv\asp.dll" resourcetype="File" precondition="bitness64" />
You need to remove: preCondition="bitness64"
-
3. Change your handler mapping for class ASPClassic.
Instead of "C:\Windows\System32\inetsrv\asp.dll" you should be loading "C:\Windows\SysWOW64\inetsrv\asp.dll"
-
4. Recycle App Pool and you should be good to go.