FIX: Microsoft OLE DB Provider for DB2 v3 receives corrupted data from INTEGER type source data in DB2

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

On This Page

SYMPTOMS

Consider the following scenario:
  • You install Microsoft OLE DB Provider for DB2 v3 or the DB2 data provider from Microsoft Host Integration Server 2009 on a computer that has Microsoft SQL Server installed.
  • You use the data provider together with an OLE DB client application. For example, you create a linked server to DB2/AS400 in an instance of SQL Server.
  • You run a SELECT query in the consumer application
  • The data-stream size of the result set is larger than 32 KB.

In this scenario, you may encounter data corruption from the result set on the INTEGER type column. The data provider does not use the correct internal buffer. This causes the data to be read incorrectly. For example, the source decimal data 11617 (0x2D61) is converted to 24877 (0x612D).

Note This problem was seen only against DB2/AS400 v6r1. However, it may also occur against DB2/AS400 v5r4.

CAUSE

This problem occurs because of an incorrect parsing of the data stream in an internal buffer that is used by the data provider.

RESOLUTION

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that 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 website:
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

You must have one of the following installed to apply this hotfix:
  • Microsoft OLE DB Provider for DB2 v3
  • Microsoft Host Integration Server 2009


Restart information

You may have to restart the computer after you apply this hotfix.

Replacement information

This hotfix does not replace any other hotfixes.

File information

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.

For the x86-based version of Microsoft OLE DB Provider for DB2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTime
Db2oledb.dll8.0.4303.0628,56014-Oct-201023:26
Msdrda.dll8.0.4303.0898,89614-Oct-201023:25
For the x64-based version of Microsoft OLE DB Provider for DB2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Db2oledb.dl8.0.4303.0877,90414-Oct-201023:26x64
Msdrda.dll 8.0.4303.01,547,08814-Oct-201023:26x64
Db2oledb.dll8.0.4303.0628,56014-Oct-201023:26x86
Msdrda.dll8.0.4303.0898,89614-Oct-201023:25x86
For the IA-64-based version of Microsoft OLE DB Provider for DB2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Db2oledb.dll8.0.4303.01,713,48814-Oct-201023:25IA-64
Msdrda.dll8.0.4303.02,427,21614-Oct-201023:25IA-64
Db2oledb.dll8.0.4303.0628,56014-Oct-201023:26x86
Msdrda.dll8.0.4303.0898,89614-Oct-201023:25x86
For the x64-based version of Microsoft Host Integration Server 2009
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Db2oledb.dll8.0.3781.2763,21627-Oct-201000:35x64
Drdaresync.exe8.0.3781.2672,60027-Oct-201000:35x64
Microsoft.HostIntegration.Adapters.MsDb2.Runtime.dll8.0.3781.279,78427-Oct-201000:35x86
Microsoft.HostIntegration.DataAccessLibrary.dll8.0.3781.21,279,89627-Oct-201000:35x86
Microsoft.HostIntegration.MsDb2Client.dll8.0.3781.2239,50427-Oct-201000:35x86
Msdrda.dll8.0.3781.21,514,83227-Oct-201000:35x64
Snanls.dll8.0.3781.2128,33627-Oct-201000:35x64
Db2oledb.dll8.0.3781.2539,98427-Oct-201000:30x86
Msdrda.dll8.0.3781.2875,85627-Oct-201000:30x86
Snanls.dll8.0.3781.2109,39227-Oct-201000:30x86


STATUS

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

Properties

Article ID: 2444115 - Last Review: November 12, 2010 - Revision: 1.0
APPLIES TO
  • Microsoft Host Integration Server 2009
Keywords: 
kbautohotfix kbqfe kbhotfixserver kbfix kbexpertiseinter kbprb kbsurveynew kbbug KB2444115

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