Incorrect values are updated after an application calls the UpdateBacth() method in Windows 7 or in Windows Server 2008 R2

Article translations Article translations
Article ID: 2591857 - View products that this article applies to.
Expand all | Collapse all

On This Page

Symptoms

Consider the following scenario:
  • You have a client application that uses ActiveX Data Objects (ADO) to connect to a dataset on a computer that is running Windows 7 or Windows Server 2008 R2.
  • The dataset uses the DiffGrams format.
  • You configure the value of the Resync property in the ADCPROP_UPDATERESYNC_ENUMenumerated constant to 13. This value combines the adResyncAutoIncrement, adResyncUpdates, and adResyncInsertsconstants.
  • The client application opens a client-side recordset. Then, the client application performs an insert operation and an update operation on some rows in the recordset.
  • The client application calls the UpdateBacth() method to update all the changes. These changes include the changes that are caused by the insert operation and the update operation.
In this scenario, the incorrect data values are updated. Specifically, the values in the rows that were inserted are updated by using the values in the rows that were updated.

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:
http://support.microsoft.com/contactus/?ws=support
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, you must be running one of the following operating systems:
  • Windows 7
  • Windows 7 Service Pack 1 (SP1)
  • Windows Server 2008 R2
  • Windows Server 2008 R2 Service Pack 1 (SP1)
For more information about how to obtain a Windows 7 or Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

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

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global 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 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.
  • 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.
    Collapse this tableExpand this table
    VersionProductSR_LevelService branch
    6.1.760 0 . 21xxxWindows 7 and Windows Server 2008 R2RTMLDR
    6.1.760 1 . 21xxxWindows 7 and Windows Server 2008 R2SP1LDR
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 R2 and for Windows 7" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows 7
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimeHashesPlatform
Msadce.dll6.1.7600.21055561,15216-Sep-201106:43MD5: 8487AE15B1EFB87D59BCAF6A342841CB
SHA1: 83D23743C2B87BE037557A1AC285E17A39A3E9DE
x86
Msadce.dll6.1.7601.21820561,15216-Sep-201106:13MD5: 9EAEF4B7C977BB88C13CD9B578D7370E
SHA1: 09CB336025CC49C9D87AB8FD622D4EDC69715B6F
x86
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimeHashesPlatform
Msadce.dll6.1.7600.21055749,56816-Sep-201105:15MD5: 4A487EEE5B2B8D0B9930B1DA84B4AE71
SHA1: B7931B4B27D9500BA8F797045D826B0711E4D9CB
x64
Msadce.dll6.1.7601.21820749,56816-Sep-201106:33MD5: 50E64BB212ADD680CB95D7C88A9877AF
SHA1: FAD61E6EEBE4215E17DD768A8D38CE39A6019958
x64
Msadce.dll6.1.7600.21055561,15216-Sep-201106:43MD5: 8487AE15B1EFB87D59BCAF6A342841CB
SHA1: 83D23743C2B87BE037557A1AC285E17A39A3E9DE
x86
Msadce.dll6.1.7601.21820561,15216-Sep-201106:13MD5: 9EAEF4B7C977BB88C13CD9B578D7370E
SHA1: 09CB336025CC49C9D87AB8FD622D4EDC69715B6F
x86
For all supported IA-64–based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimeHashesPlatform
Msadce.dll6.1.7600.210551,335,29616-Sep-201104:10MD5: E1003C61CFC1B5AD167ADCA607C6D098
SHA1: 9CAAD930488B894CB573958E91C15EE3C021ACF8
IA-64
Msadce.dll6.1.7601.218201,335,29616-Sep-201104:15MD5: C373B08B7A4CB32D3A8A88C190790336
SHA1: D7351840C4D0D682C25A23E47BB3BF5BB7A9453D
IA-64
Msadce.dll6.1.7600.21055561,15216-Sep-201106:43MD5: 8487AE15B1EFB87D59BCAF6A342841CB
SHA1: 83D23743C2B87BE037557A1AC285E17A39A3E9DE
x86
Msadce.dll6.1.7601.21820561,15216-Sep-201106:13MD5: 9EAEF4B7C977BB88C13CD9B578D7370E
SHA1: 09CB336025CC49C9D87AB8FD622D4EDC69715B6F
x86

Workaround

To work around this issue, configure the Resync property in the ADCPROP_UPDATERESYNC_ENUM enumerated constant to perform only insert operations or update operations when the UpdateBacth() method is called.

Status

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

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
For more information about the ADCPROP_UPDATERESYNC_ENUM enumerated constant, visit the following Microsoft website:
General information about ADCPROP_UPDATERESYNC_ENUM

Additional file information

Additional file information for Windows 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7
Collapse this tableExpand this table
File name2
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameX86_c0a21f081bdf5ac17ba79a25c3851df1_31bf3856ad364e35_6.1.7600.21055_none_82c1b53c174c3bc1.manifest
File versionNot applicable
File size738
Date (UTC)16-Sep-2011
Time (UTC)17:32
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameX86_microsoft-windows-m..nts-mdac-rds-ce-dll_31bf3856ad364e35_6.1.7600.21055_none_627138e5bc183623.manifest
File versionNot applicable
File size6,022
Date (UTC)16-Sep-2011
Time (UTC)07:25
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameX86_microsoft-windows-m..nts-mdac-rds-ce-dll_31bf3856ad364e35_6.1.7601.21820_none_64732e01b92a996e.manifest
File versionNot applicable
File size6,022
Date (UTC)16-Sep-2011
Time (UTC)06:55
SHA-1 hashNot applicable
MD5 hashNot applicable
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameAmd64_1e5ebfcbf5e4213592e653a85f96c6fd_31bf3856ad364e35_6.1.7600.21055_none_5afbe01267c0ef5e.manifest
File versionNot applicable
File size1,124
Date (UTC)16-Sep-2011
Time (UTC)17:32
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameAmd64_7f50405cf015ef083823f0a19aa168d5_31bf3856ad364e35_6.1.7601.21820_none_9873878ee312389b.manifest
File versionNot applicable
File size742
Date (UTC)16-Sep-2011
Time (UTC)17:32
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameAmd64_8761e22236ae0e1d8a072ae617d74c12_31bf3856ad364e35_6.1.7600.21055_none_2cd6ad138d7acba1.manifest
File versionNot applicable
File size742
Date (UTC)16-Sep-2011
Time (UTC)17:32
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameAmd64_d934fbd9861bf601cc113069c6efa7cb_31bf3856ad364e35_6.1.7601.21820_none_e01ebd1ec4e9cf8f.manifest
File versionNot applicable
File size1,124
Date (UTC)16-Sep-2011
Time (UTC)17:32
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameAmd64_microsoft-windows-m..nts-mdac-rds-ce-dll_31bf3856ad364e35_6.1.7600.21055_none_be8fd4697475a759.manifest
File versionNot applicable
File size6,024
Date (UTC)16-Sep-2011
Time (UTC)08:04
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameAmd64_microsoft-windows-m..nts-mdac-rds-ce-dll_31bf3856ad364e35_6.1.7601.21820_none_c091c98571880aa4.manifest
File versionNot applicable
File size6,024
Date (UTC)16-Sep-2011
Time (UTC)07:41
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameX86_microsoft-windows-m..nts-mdac-rds-ce-dll_31bf3856ad364e35_6.1.7600.21055_none_627138e5bc183623.manifest
File versionNot applicable
File size6,022
Date (UTC)16-Sep-2011
Time (UTC)07:25
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameX86_microsoft-windows-m..nts-mdac-rds-ce-dll_31bf3856ad364e35_6.1.7601.21820_none_64732e01b92a996e.manifest
File versionNot applicable
File size6,022
Date (UTC)16-Sep-2011
Time (UTC)06:55
SHA-1 hashNot applicable
MD5 hashNot applicable
Additional files for all supported IA-64–based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File nameIa64_43593e929cfe9dc3cdc74c19c0daa0a9_31bf3856ad364e35_6.1.7600.21055_none_c2ef1115f44081ad.manifest
File versionNot applicable
File size1,122
Date (UTC)16-Sep-2011
Time (UTC)17:32
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameIa64_c8829121a0f7efaf4583d3f59d080cd7_31bf3856ad364e35_6.1.7601.21820_none_53b126d77bd13e82.manifest
File versionNot applicable
File size1,122
Date (UTC)16-Sep-2011
Time (UTC)17:32
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameIa64_microsoft-windows-m..nts-mdac-rds-ce-dll_31bf3856ad364e35_6.1.7600.21055_none_6272dcdbbc163f1f.manifest
File versionNot applicable
File size6,023
Date (UTC)16-Sep-2011
Time (UTC)08:00
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameIa64_microsoft-windows-m..nts-mdac-rds-ce-dll_31bf3856ad364e35_6.1.7601.21820_none_6474d1f7b928a26a.manifest
File versionNot applicable
File size6,023
Date (UTC)16-Sep-2011
Time (UTC)07:33
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameX86_microsoft-windows-m..nts-mdac-rds-ce-dll_31bf3856ad364e35_6.1.7600.21055_none_627138e5bc183623.manifest
File versionNot applicable
File size6,022
Date (UTC)16-Sep-2011
Time (UTC)07:25
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameX86_microsoft-windows-m..nts-mdac-rds-ce-dll_31bf3856ad364e35_6.1.7601.21820_none_64732e01b92a996e.manifest
File versionNot applicable
File size6,022
Date (UTC)16-Sep-2011
Time (UTC)06:55
SHA-1 hashNot applicable
MD5 hashNot applicable

Properties

Article ID: 2591857 - Last Review: December 28, 2012 - Revision: 2.0
Applies to
  • Windows 7 Starter
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Enterprise
  • Windows 7 Ultimate
  • Windows Server 2008 R2 Standard
  • Windows Server 2008 R2 Foundation
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 for Itanium-Based Systems
Keywords: 
kbautohotfix kbqfe kbhotfixserver kbfix kbsurveynew kbexpertiseadvanced kbexpertiseinter KB2591857

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com