FIX: Access Violation in Mtxdm.dll During Application Shutdown on Win2000 Platforms (253222)



The information in this article applies to:

  • Microsoft Data Access Components 2.5
  • the operating system: Microsoft Windows 2000

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


Modification Type:MinorLast Reviewed:9/26/2005
Keywords:kbHotfixServer kbQFE kbBug kbfix kbQFE kbWin2000sp1Fix KB253222