Microsoft KB Archive/253222

= FIX: Access Violation in Mtxdm.dll During Application Shutdown on Win2000 Platforms =

Article ID: 253222

Article Last Modified on 1/27/2007

-

APPLIES TO


 * Microsoft Data Access Components 2.5
 * Microsoft Windows 2000 Standard Edition

-



This article was previously published under Q253222



SYMPTOMS
On a Windows 2000-based computer, when you close down an application or service that uses the Mtxdm.dll file (version 1999.9.3421.3), the application or service may experience an Access Violation.

This problem is most likely to occur in applications that are using ODBC connection pooling.



CAUSE
The Mtxdm.dll file is prematurely unloaded during process shutdown. A waiting thread receives an event signal and attempts to continue execution, but there is no longer any code loaded at that address.



RESOLUTION
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

WORKAROUND

 * Disable ODBC connection pooling.


 * Do not explicitly free the ODBC Environment handle.



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 Windows 2000 Service Pack 1.



MORE INFORMATION
Additional query words: win2000 av access violation crash process application service shutdown mtxdm.dll

Keywords: kbhotfixserver kbqfe kbbug kbfix kbqfe kbwin2000sp1fix KB253222

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.