Microsoft KB Archive/314638

= FIX: ADO Memory Leak Occurs on Web Servers with MDAC 2.5 or 2.6 =

Article ID: 314638

Article Last Modified on 11/4/2003

-

APPLIES TO


 * Microsoft Data Access Components 2.5
 * Microsoft Data Access Components 2.5 Service Pack 1
 * Microsoft Data Access Components 2.5 Service Pack 2
 * Microsoft Data Access Components 2.6
 * Microsoft Data Access Components 2.6 Service Pack 2
 * Microsoft Data Access Components 2.6 Service Pack 1
 * Microsoft ActiveX Data Objects 2.5
 * Microsoft ActiveX Data Objects 2.6

-



This article was previously published under Q314638



SYMPTOMS
On a Web server that is using Microsoft Data Access Components (MDAC) 2.5 or 2.6, a memory leak may occur when using ODBC to connect to a data source. You can confirm this by using Performance Monitor to track the private bytes allocated by either the Internet Information Server (IIS) process or the DLLHost process under which a particular IIS application is loaded.



CAUSE
ADO internally allocates empty strings for the EXCEPINFO structure in all cases although this structure is only needed in the case of a failed HRESULT.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Microsoft Data Access Components (MDAC) 2.7.

Keywords: kbbug kbfix kbqfe KB314638

-

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

© Microsoft Corporation. All rights reserved.