VBScript Access Violates When Using Nested VBS Classes in ASP Pages (240811)



The information in this article applies to:

  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0

This article was previously published under Q240811
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

SYMPTOMS

When you use VBScript 5.x Classes in an ASP page, you may receive an Access Violation error in IIS if you nest classes within other classes on an ASP page.

CAUSE

This is caused by a problem in the class destruction for VBScript Classes.

RESOLUTION

Update the Vbscript.dll file to version 5.1 or later. Note that the installation of this update requires a restart to take effect.

STATUS

This has been fixed the next version of Vbscript.dll version 5.1.

Modification Type:MinorLast Reviewed:6/23/2005
Keywords:kbbug kbpending KB240811