FIX: VB Classes Can Cause IIS to Have Access Violations (191119)



The information in this article applies to:

  • Microsoft Visual Basic Professional Edition for Windows 6.0
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0

This article was previously published under Q191119

SYMPTOMS

Internet Information Server (IIS) could have an access violation when shutting down.

CAUSE

The IIS environment at termination does not guarantee the order of DLL unloads. As a result the Visual Basic runtime is sometimes unloaded before it can be cleanly shut down. This results in the access violation. This can happen sporadically but only if you have the Visual Basic project option Retain in Memory set On. However, not setting Retain in Memory can cause more serious issues.

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

264957 BUG: VB DLL Has Memory Leaks and Crashes in COM+ if 'Retain In Memory' Not Set

RESOLUTION

To resolve this problem, install the latest Visual Studio 6.0 service pack.For additional information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That a Visual Studio Service Pack Is Installed

To download the latest Visual Studio service pack, visit the following Microsoft Web site:

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem was first corrected in Visual Studio 6.0 Service Pack 3.

REFERENCES

For additional information on WebClasses, click the article number below to view the article in the Microsoft Knowledge Base:

189539 INFO: VB 6.0 Readme Part 8: WebClass Designer Issues


Modification Type:MinorLast Reviewed:12/12/2005
Keywords:kbBug kbfix kbVS600sp3fix kbWebClasses KB191119