FIX: An ADO application crashes after you install Windows Server 2003 SP1 or Windows XP SP2 (911570)



The information in this article applies to:

  • Microsoft Data Access Components 2.8 Service Pack 1 (SP1)
  • Microsoft Data Access Components 2.8

SYMPTOMS

After you install Microsoft Windows Server 2003 Service Pack 1 (SP1) or Microsoft Windows XP Professional Service Pack 2 (SP2), a Microsoft ActiveX Data Objects (ADO) application crashes. This problem occurs when the ADO application uses a pointer to a wide character string.

Note A pointer to a wide character string that is used by an Automation data-manipulation function is called a binary string or a BSTR.

For example, you may experience this problem when you use the following ADO CRecordset::Update code example to update a BSTR field with the value of a BSTR field from another record set.
Dim rstComponenti as New ADODB.Recordset
....
rstComponenti.Update "description",rstComponentiApp.Fields("description")  

CAUSE

This problem occurs because of a regression that was introduced in a post Microsoft Data Access Components (MDAC) 2.8 RTM version of the Msado15.dll file.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next MDAC 2.8 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Hotfix file information

This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain of all the files that you must have to fully update a product to the latest build.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.Windows Server 2003, x86-based versions
File nameFile versionFile sizeDateTimePlatformService pack requirementService branch
Msado15.dll2.82.2589.0598,01609-Dec-200505:10x86SP1SP1QFE
Msadomd.dll2.82.2589.0212,99209-Dec-200505:10x86SP1SP1QFE
Msadox.dll2.82.2589.0229,37609-Dec-200505:10x86SP1SP1QFE
Msjro.dll2.82.2589.0110,59209-Dec-200505:10x86SP1SP1QFE
Odbccp32.dll3.526.2589.0102,40009-Dec-200505:10x86SP1SP1QFE
Windows Server 2003, x64-based versions
File nameFile versionFile sizeDateTimePlatformService pack requirementService branch
Msado15.dll2.82.2589.01,019,90409-Dec-200505:55x64SP1SP1QFE
Msadomd.dll2.82.2589.0368,64009-Dec-200505:55x64SP1SP1QFE
Msadox.dll2.82.2589.0393,21609-Dec-200505:55x64SP1SP1QFE
Odbccp32.dll3.526.2589.0147,45609-Dec-200505:55x64SP1SP1QFE
Wmsado15.dll2.82.2589.0598,01609-Dec-200505:55x86SP1WOW
Wmsadomd.dll2.82.2589.0212,99209-Dec-200505:55x86SP1WOW
Wmsadox.dll2.82.2589.0229,37609-Dec-200505:55x86SP1WOW
Wmsjro.dll2.82.2589.0110,59209-Dec-200505:55x86SP1WOW
Wodbccp32.dll3.526.2589.0102,40009-Dec-200505:55x86SP1WOW
Windows Server 2003, Itanium-based versions
File nameFile versionFile sizeDateTimePlatformService pack requirementService branch
Msado15.dll2.82.2589.01,855,48809-Dec-200505:55IA-64SP1SP1QFE
Msadomd.dll2.82.2589.0671,74409-Dec-200505:55IA-64SP1SP1QFE
Msadox.dll2.82.2589.0720,89609-Dec-200505:55IA-64SP1SP1QFE
Odbccp32.dll3.526.2589.0266,24009-Dec-200505:55IA-64SP1SP1QFE
Wmsado15.dll2.82.2589.0598,01609-Dec-200505:55x86SP1WOW
Wmsadomd.dll2.82.2589.0212,99209-Dec-200505:55x86SP1WOW
Wmsadox.dll2.82.2589.0229,37609-Dec-200505:55x86SP1WOW
Wmsjro.dll2.82.2589.0110,59209-Dec-200505:55x86SP1WOW
Wodbccp32.dll3.526.2589.0102,40009-Dec-200505:55x86SP1WOW

MORE INFORMATION

Technical support for Windows x64 editions

Your hardware manufacturer provides technical support and assistance for Microsoft Windows x64 editions. Your hardware manufacturer provides support because a Windows x64 edition was included with your hardware. Your hardware manufacturer might have customized the Windows x64 edition installation with unique components. Unique components might include specific device drivers or might include optional settings to maximize the performance of the hardware. Microsoft will provide reasonable-effort assistance if you need technical help with your Windows x64 edition. However, you might have to contact your manufacturer directly. Your manufacturer is best qualified to support the software that your manufacturer installed on the hardware.

For product information about Microsoft Windows XP Professional x64 Edition, visit the following Microsoft Web site: For product information about Microsoft Windows Server 2003 x64 editions, visit the following Microsoft Web site:

WORKAROUND

To work around this problem, append the Value property to the lines of ADO code that use pointers to wide character strings.

The modified line of ADO code appears similar to the following code example.
rstComponenti.Update "description", rstComponentiApp.Fields("description").Value

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, 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


Modification Type:MinorLast Reviewed:7/26/2006
Keywords:kbfix kbHotfixServer kbQFE kbpubtypekc KB911570 kbAudITPRO kbAudDeveloper