Problem :
Detailed Error Information
Module IsapiModule
Notification ExecuteRequestHandler
Handler ASPClassic
Error Code 0x800700aa
Requested URL http://localhost/New_Site/Default.asp
Physical Path C:\inetpub\wwwroot\New_Site\Default.asp
Logon Method Anonymous
Logon User Anonymous
Some times you try to browse a simple ASP page (Legacy ASP) hosted on IIS 7.5 or IIS 8.5 and you run in to following Error :
Detailed Error Information
Module IsapiModule
Notification ExecuteRequestHandler
Handler ASPClassic
Error Code 0x800700aa
Requested URL http://localhost/New_Site/Default.asp
Physical Path C:\inetpub\wwwroot\New_Site\Default.asp
Logon Method Anonymous
Logon User Anonymous
You try all the other options like Enabling 32 Bit, Changing AppPool Pipeline mode to Classic, installing .net framework 1.1 or 2.0 but it doesn't help.
Diagnose the Problem :
To find the main reason of this problem you will need to run Process Monitor and filter the logs to see only ProcMon Logs related to w3Wp.exe.
While digging the logs, you may find some logs similar to following :
12:31:49.0797868 PM w3wp.exe 8264 CreateFile C:\Program Files\McAfee\VirusScan\scriptsn.dll PATH NOT FOUND
OR
12:31:49.0797868 PM w3wp.exe 8264 CreateFile C:\Program Files\McAfee\VirusScan\scriptsn.dll PATH NOT FOUND
Now the question is, why an asp file request is calling a .dll file which is related to to McAfee AntiVirus program.
Some times , when McAfee is installed on your server or Updated , it add this DLL as part of there ScriptScan feature to intercept the script calls before they are executed on following Regresty Key :
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32
(Default) REG_SZ C:\Program Files\McAfee\VirusScan\scriptsn.dll
(Default) REG_SZ C:\Program Files\McAfee\VirusScan\scriptsn.dll
In normal Conditions, this Registry Key (CLSID - HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32 ) points to VBScript.dll but here it is pointing to C:\Program Files\McAfee\VirusScan\scriptsn.dll. And this is the reason, ASP files are not being processed when requested.
Resolution :
To Resolve this issue you need to perform following tasks :
- Open Registry Editor
- Navigate to : HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}
- Right Click and Select Permissions
- Click Advanced
- Click on the owner Tab
- In the “Change owner to ” Administrators
- Click Apply can click OK
- The Select Administrators in the list of accounts under ” Groups or User names”
- Click the “FULL Control”
- Click Apply and OK
- Now Double click on InprocServer32 and Modify its value as "C:Windows\system32\vbscript.dll".
- Click OK and come out or Registry settings.
- Recycle the application Pool serving your application or Reset IIS if necessary.
VOILAAAAAAA !!!!! It Works !!!!!!
Cheers!!!