The information in this article applies to:
SYMPTOMSWhen running an apartment model ActiveX DLL created in Visual Basic in a multithreaded environment such as Microsoft Internet Information Server (IIS) or Microsoft Transaction Server (MTS), COM+, Internet Explorer, ActiveX EXEs, and so on, the DLL fails periodically with an access violation (AV). RESOLUTION
The following steps may be used to change the DLL to avoid the problem.
This may not resolve the issue in all cases.
Step-by-Step Example
If you are running Visual Basic 6.0: STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONREFERENCESFor additional information on errors when using an ActiveX DLL created in Visual Basic 5.0 that contains a For... Each loop that iterates through a Visual Basic collection, click the article number below to view the article in the Microsoft Knowledge Base: Q183164 FIX: For..Each Loop in ActiveX Component Causes ErrorsFor additional information on access violation on process shutdown, click the article numbers below to view the articles in the Microsoft Knowledge Base: Q214755 FIX: VB 6 DLL Settings Cause Access Violation During MTS Shutdown Q191119 FIX: VB Classes Can Cause IIS to Have Access ViolationsFor information on Visual Studio, Service Pack 3, please see the Web site at the following location: Visual Studio 6.0, Service Pack 3For additional information on threading issues with Visual Basic 6.0 ActiveX components, click the article number below to view the article in the Microsoft Knowledge Base: Q241896 PRB: Threading Issues with Visual Basic 6.0 ActiveX Components Additional query words: MTS IIS crash gpf ipf
Keywords : kbVBp500bug kbVBp600bug kbVS97bug kbVS97sp1bug kbVS97sp2bug kbVS97sp3bug kbGrpVB kbDSupport |
Last Reviewed: January 18, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |