Problem:
Upon loading CA NetQoS products like Network Flow Analysis or any other product we found that simple ASP pages could give you a 500 error. This only applies to ASP pages and not ASPX.
The error details are as follows:
Detailed Error Information
Module | IsapiModule | |
Notification | ExecuteRequestHandler | |
Handler | ASPClassic | |
Error Code | 0x800700aa | |
Requested URL | ||
Physical Path | D:\NETQOS\Reporter\web\Default.asp | |
Logon Method | Anonymous | |
Logon User | Anonymous | |
What is happening is that McAfee, IIS and ASP.NET are conflicting with each other. The Windows Registry is pointing to McAfee scripts instead of the default Windows scripts. This is a McAfee feature that forces scripts to go through McAfee for scanning before executing.
This causes an issue with IIS 7.5 and ASP.NET. Whenever any simple ASP page is created and opened you can run into this error.
Resolution:
To resolve this error you can disable McAfee Script Scanning so that McAfee does not overwrite the registry values that we are going to manually set back to use the default Windows .DLL files.
1. Create a .REG file with:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}]
@="VB Script Language"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\Implemented Categories]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\Implemented Categories\{F0B7A1A1-9847-11CF-8F20-00805F2CD064}]
@=hex(0):
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\Implemented Categories\{F0B7A1A2-9847-11CF-8F20-00805F2CD064}]
@=hex(0):
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
@="C:\\Windows\\system32\\vbscript.dll"
"ThreadingModel"="Both"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\OLEScript]
@=hex(0):
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\ProgID]
@="VBScript"
2. Create a .REG file with:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
@="C:\\Windows\\system32\\vbscript.dll"
"ThreadingModel"="Both"
3. Execute both files. If you have permission issues please do this:
1. Open Registry Editor
2. Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}
OR
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32
3. Right Click and Select Permissions
4. Click Advanced
5. Click on the owner Tab
6. In the "Change owner to" Choose ‘Administrators’ and replace check box.
7. Click Apply can click OK
8. The Select Administrators in the list of accounts under "Groups or User names"
9. Click the "FULL Control"
10. Click Apply and OK (This should allow changes to the respective key)
4. Now register these 3 .DLL files by running from CMD prompt:
regsvr32 C:\Windows\system32\oleaut32.dll
regsvr32 C:\Windows\system32\inetsrv\asp.dll
regsvr32 C:\Windows\system32\vbscript.dll
5. ASP Pages should now work.