Simple ASP pages giving 500 error
search cancel

Simple ASP pages giving 500 error

book

Article ID: 33215

calendar_today

Updated On:

Products

CA Network Flow Analysis (NetQos / NFA)

Issue/Introduction

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:

HTTP Error 500.0 - Internal Server Error

The page cannot be displayed because an internal server error has occurred.

Detailed Error Information

Module

IsapiModule

Notification

ExecuteRequestHandler

Handler

ASPClassic

Error Code

0x800700aa

Requested URL

http://localhost:80/Default.asp

Physical Path

D:\NETQOS\Reporter\web\Default.asp

Logon Method

Anonymous

Logon User

Anonymous

     

 

 

 

  

 

 

 

Environment

Release: RAIB1H99000-9.3-Network Flow Analysis-Interface Bundle-Hardware
Component:

Cause

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"

  1. 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"

 

  1. Execute both files.  If you have permission issues please do this:
  2. Open Registry Editor
  3. 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

  1. Right Click and Select Permissions
  2. Click Advanced
  3. Click on the owner Tab
  4. In the "Change owner to" Choose ‘Administrators’ and replace check box.
  5. Click Apply can click OK
  6. The Select Administrators in the list of accounts under "Groups or User names"
  7. Click the "FULL Control"
  8. Click Apply and OK (This should allow changes to the respective key)

 

  1. 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

 

  1. ASP Pages should now work.