Microsoft KB Archive/921951

From BetaArchive Wiki

Article ID: 921951

Article Last Modified on 12/4/2007



APPLIES TO

  • Microsoft Host Integration Server 2000 Standard Edition
  • Microsoft Host Integration Server 2004 Standard Edition
  • Microsoft Host Integration Server 2004 Enterprise Edition




SYMPTOMS

When you execute an Insert command or an Update command against an IBM DB2 database, the OLE DB provider for DB2 that is included with Microsoft Host Integration Server 2000 Service Pack 2 (SP2) and with Microsoft Host Integration Server 2004 converts certain characters to space characters (0x20). The OLE DB provider converts characters that have a value that is lower than 0x20.

For example, this problem occurs when a column in an IBM DB2 table has to be updated with the following value:

Test<CR><LF>Field


In this example, the <CR> value represents the character value for a carriage return (ASCII 0x0D). The <LF> value represents the character value for a line feed (ASCII 0x0A).

When this problem occurs, the OLE DB provider for DB2 incorrectly converts the carriage return character and the line feed character to ASCII space characters (0x20) before the OLE DB provider sends the information to the IBM DB2 database.

RESOLUTION

Hotfix information

Microsoft Host Integration Server 2000

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only 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 Host Integration Server 2000 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer 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.

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 item in Control Panel.

File name File version File size Date Time Platform
Crtpkg.dll 5.0.0.2096 311,568 12-Jul-2006 23:18 x86
Crtpkg.exe 5.0.0.2096 61,712 12-Jul-2006 23:18 x86
Db2oledb.dll 5.0.0.2096 696,592 12-Jul-2006 23:18 x86
Mseidb2c.dll 5.0.0.2096 69,904 12-Jul-2006 23:18 x86
Mseidb2d.dll 5.0.0.2096 889,104 12-Jul-2006 23:18 x86
Mseidrda.dll 5.0.0.2096 270,608 12-Jul-2006 23:18 x86

Microsoft Host Integration Server 2004

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only 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 Host Integration Server 2004 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer 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.

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 item in Control Panel.

File name File version File size Date Time Platform
Db2oledb.dll 6.0.2037.0 488,448 03-Jul-2006 19:19 x86
Db2oledb.h Not Applicable 24,516 03-Jul-2006 19:24 Not Applicable
Ddmstr.dll 6.0.2037.0 44,032 03-Jul-2006 19:19 x86
Drdaresync.exe 6.0.2037.0 337,408 03-Jul-2006 19:19 x86
Microsoft.hostintegration.dataaccesslibrary.dll 6.0.2037.0 86,016 03-Jul-2006 19:19 x86
Microsoft.hostintegration.dataaccesstool.exe 6.0.2037.0 2,703,360 03-Jul-2006 19:20 x86
Microsoft.hostintegration.msdb2client.dll 6.0.2037.0 114,688 03-Jul-2006 19:19 x86
Mseidb2c.dll 6.0.2037.0 71,680 03-Jul-2006 19:19 x86
Mseidb2d.dll 6.0.2037.0 435,200 03-Jul-2006 19:19 x86
Mseidrda.dll 6.0.2037.0 695,808 03-Jul-2006 19:20 x86


STATUS

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

MORE INFORMATION

After you apply this hotfix, the OLE DB provider for DB2 correctly converts characters that have a value that is lower than 0x20 before the OLE DB provider sends the data to an IBM DB2 database.

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: DB2 OLEDB character 0x20 space

Keywords: kbqfe KB921951