BUG: VB 6 DLL Settings Cause Access Violation During MTS Shutdown

ID: Q214755


The information in this article applies to:


SYMPTOMS

Using the Unattended Execution and Single Threading Model options with a Visual Basic DLL installed in Microsoft Transaction Server (MTS) causes an access violation when the MTS package times out.


RESOLUTION

Settings other than those specified in the SYMPTOMS section does not cause this error. Specifically, the Apartment Threading Model option, which is recommended for use with MTS anyway, is safe to use.


STATUS

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

This will be fixed in the future version of Visual Studio service pack.


MORE INFORMATION

To reproduce this problem, do the following:

  1. Create a Visual Basic 6 DLL with the Unattended Execution, Apartment Threaded and Retain In Memory project properties set.


  2. Install the DLL in a Transaction Server package


  3. Run a client application that uses the DLL. This will cause the package to start up.


  4. Close the client application.


  5. The access violation will occur when the package times out.


Additional query words:


Keywords          : kbMTS200bug kbVBp600 kbVS600bug kbVS600sp2bug 
Version           : WINDOWS:6.0,6.0 SP2; winnt:2.0
Platform          : WINDOWS winnt 
Issue type        : kbbug 

Last Reviewed: July 20, 1999