BUG: VB Classes Can Cause IIS to have Access Violations

ID: Q191119


The information in this article applies to:


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.


RESOLUTION

Turn OFF the project option "Retain in Memory."

NOTE: Even though turning OFF the project option "Retain in Memory" will stop the IIS Access Violations, you do not want to do this. To get maximum performance from your WebClasses, you need to have the project option "Retain in Memory" turned ON.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.


REFERENCES

Please see the following Microsoft Knowledge Base article for more information on WebClasses:

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

Additional query words: kbVBp600bug kbVBp kbWebClasses kbInternet


Keywords          : kbInternet kbVBp kbVBp600bug kbWebClasses 
Version           : WINDOWS:6.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: May 19, 1999