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")
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
|
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
|
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
|
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 |
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