Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

A memory leak occurs when an ADO Recordset object calls the UpdateBatch method


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have an SQL table that contains an identity column.
  • You start an application that uses a Microsoft ActiveX Data Objects (ADO) client-side Recordset object to access the SQL database.
  • This application calls the UpdateBatch method to insert several rows into the table.
In this scenario, you find a memory leak occurs.

If you use Performance Monitor (Perfmon.exe) to monitor application processes, you notice that the value of the Private Bytes counter continually increases. This is evidence of a memory leak.

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, your computer must be running one of the following operating systems:
  • Windows Server 2003 Service Pack 2 (SP2)
  • Windows Vista Service Pack 1 (SP1)
  • Windows Vista Service Pack 2 (SP2)
  • Windows Server 2008
  • Windows Server 2008 Service Pack 2 (SP2)
  • Windows 7
  • Windows Server 2008 R2
For more information about how to obtain a Windows Server 2003 service pack or a Windows XP Professional x64 Edition service pack, click the following article number to view the article in the Microsoft Knowledge Base:
889100 How to obtain the latest service pack for Windows Server 2003
For more information about how to obtain a Windows Vista service pack, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack
For more information about how to obtain a Windows Server 2008 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
968849 How to obtain the latest service pack for Windows Server 2008

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English (United States) version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows Server 2003 file information note
  • In addition to the files that are listed in these tables, this hotfix also installs an associated security catalog file (KBnumber.cat) that is signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Server 2003
File nameFile versionFile sizeDateTime
Msadce.dll2.82.4635.0356,35211-Dec-200916:48
For all supported x64-based versions of Windows Server 2003
File nameFile versionFile sizeDateTimePlatform
Msadce.dll2.82.4635.0622,59211-Dec-200914:42x64
Wmsadce.dll2.82.4635.0356,35211-Dec-200914:42x86
For all supported IA-64-based versions of Windows Server 2003
File nameFile versionFile sizeDateTimePlatform
Msadce.dll2.82.4635.01,212,41611-Dec-200914:41IA-64
Wmsadce.dll2.82.4635.0356,35211-Dec-200914:41x86
Windows Vista and Windows Server 2008 file information notes
Important Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.
    VersionProductSR_LevelService branch
    6.0.600 1.22xxxWindows Vista and Windows Server 2008SP1LDR
    6.0.600 2.22xxxWindows Vista and Windows Server 2008SP2LDR
  • Service Pack 1 is integrated into the release version of Windows Server 2008. Therefore, RTM milestone files apply only to Windows Vista. RTM milestone files have a 6.0.0000.xxxxxx version number.
For all supported x86-based versions of Windows Server 2008 and of Windows Vista
File nameFile versionFile sizeDateTime
Msadce.dll6.0.6001.22581454,65611-Dec-200914:53
Msadce.dll6.0.6002.22286454,65611-Dec-200914:28
For all supported x64-based versions of Windows Server 2008 and of Windows Vista
File nameFile versionFile sizeDateTime
Msadce.dll6.0.6001.22581589,82411-Dec-200915:11
Msadce.dll6.0.6002.22286589,82411-Dec-200914:28
For all supported IA-64-based versions of Windows Server 2008
File nameFile versionFile sizeDateTime
Msadce.dll6.0.6001.225811,175,55211-Dec-200914:54
Msadce.dll6.0.6002.222861,175,55211-Dec-200914:28
Windows 7 and Windows Server 2008 R2 file information notes
Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
For all supported x86-based versions of Windows 7
File nameFile versionFile sizeDateTime
Msadce.dll6.1.7600.20595561,15213-Dec-200908:56
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameFile versionFile sizeDateTime
Msadce.dll6.1.7600.20595749,56813-Dec-200911:12
For all supported IA-64-based versions of Windows Server 2008 R2
File nameFile versionFile sizeDateTime
Msadce.dll6.1.7600.205951,335,29613-Dec-200908:25

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: kbprb, kbsurveynew, kbautohotfix, kbexpertiseadvanced, kbhotfixserver, kbfix, kbqfe, KB978155

↑ Back to the top

Article Info
Article ID : 978155
Revision : 2
Created on : 1/11/2010
Published on : 1/11/2010
Exists online : False
Views : 381