Microsoft KB Archive/911570

From BetaArchive Wiki

Article ID: 911570

Article Last Modified on 3/21/2007



APPLIES TO

  • Microsoft Data Access Components 2.8 Service Pack 1
  • 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

Service pack information

To resolve this problem, obtain the latest service pack for Windows Server 2003. For more information, 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


Hotfix information

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 name File version File size Date Time Platform Service pack requirement Service branch
Msado15.dll 2.82.2589.0 598,016 09-Dec-2005 05:10 x86 SP1 SP1QFE
Msadomd.dll 2.82.2589.0 212,992 09-Dec-2005 05:10 x86 SP1 SP1QFE
Msadox.dll 2.82.2589.0 229,376 09-Dec-2005 05:10 x86 SP1 SP1QFE
Msjro.dll 2.82.2589.0 110,592 09-Dec-2005 05:10 x86 SP1 SP1QFE
Odbccp32.dll 3.526.2589.0 102,400 09-Dec-2005 05:10 x86 SP1 SP1QFE
Windows Server 2003, x64-based versions
File name File version File size Date Time Platform Service pack requirement Service branch
Msado15.dll 2.82.2589.0 1,019,904 09-Dec-2005 05:55 x64 SP1 SP1QFE
Msadomd.dll 2.82.2589.0 368,640 09-Dec-2005 05:55 x64 SP1 SP1QFE
Msadox.dll 2.82.2589.0 393,216 09-Dec-2005 05:55 x64 SP1 SP1QFE
Odbccp32.dll 3.526.2589.0 147,456 09-Dec-2005 05:55 x64 SP1 SP1QFE
Wmsado15.dll 2.82.2589.0 598,016 09-Dec-2005 05:55 x86 SP1 WOW
Wmsadomd.dll 2.82.2589.0 212,992 09-Dec-2005 05:55 x86 SP1 WOW
Wmsadox.dll 2.82.2589.0 229,376 09-Dec-2005 05:55 x86 SP1 WOW
Wmsjro.dll 2.82.2589.0 110,592 09-Dec-2005 05:55 x86 SP1 WOW
Wodbccp32.dll 3.526.2589.0 102,400 09-Dec-2005 05:55 x86 SP1 WOW
Windows Server 2003, Itanium-based versions
File name File version File size Date Time Platform Service pack requirement Service branch
Msado15.dll 2.82.2589.0 1,855,488 09-Dec-2005 05:55 IA-64 SP1 SP1QFE
Msadomd.dll 2.82.2589.0 671,744 09-Dec-2005 05:55 IA-64 SP1 SP1QFE
Msadox.dll 2.82.2589.0 720,896 09-Dec-2005 05:55 IA-64 SP1 SP1QFE
Odbccp32.dll 3.526.2589.0 266,240 09-Dec-2005 05:55 IA-64 SP1 SP1QFE
Wmsado15.dll 2.82.2589.0 598,016 09-Dec-2005 05:55 x86 SP1 WOW
Wmsadomd.dll 2.82.2589.0 212,992 09-Dec-2005 05:55 x86 SP1 WOW
Wmsadox.dll 2.82.2589.0 229,376 09-Dec-2005 05:55 x86 SP1 WOW
Wmsjro.dll 2.82.2589.0 110,592 09-Dec-2005 05:55 x86 SP1 WOW
Wodbccp32.dll 3.526.2589.0 102,400 09-Dec-2005 05:55 x86 SP1 WOW

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. This problem was first corrected in Windows Server 2003 Service Pack 2.

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



Additional query words: kbmdac ado double free crash AV Winx64 Windowsx64 64bit 64-bit

Keywords: kbfix kbpubtypekc kbhotfixserver kbqfe KB911570