FIX: VB 6 DLL Settings Cause Access Violation During MTS Shutdown (214755)
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 Q214755 SYMPTOMS
Using the Unattended Execution, Retain in Memory, and Single Threaded Threading Model options with a Visual Basic DLL installed in Microsoft Transaction Server (MTS) causes an access violation when the MTS package times out.
NOTE: The Access Violation can occur when a Visual Basic DLL is used with these settings in any multithreaded environment, such as MTS, IIS, Internet Explorer and so on.
RESOLUTION
Ensure that Visual Studio 6, Service Pack 3 is installed.
Settings other than those specified in the SYMPTOMS section do not cause this error. Specifically, the Apartment Threaded Threading Model option, which is recommended for use with MTS, is safe to use.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This bug was corrected in Visual Studio 6, Service Pack 3. REFERENCESFor additional information on using components built in Visual Basic in multithreaded environments, click the article number below
to view the article in the Microsoft Knowledge Base:
186273 BUG: AV Running VB-Built Component in Multi-Threaded Environment
Modification Type: | Major | Last Reviewed: | 10/16/2002 |
---|
Keywords: | kbBug kbVS600sp3fix KB214755 |
---|
|