FIX: "SQLSTATE: HY000" error occurs when you use Microsoft OLE DB Provider for DB2 v3 to load data in SSIS by using a FastLoad option

Article translations Article translations
Article ID: 2465092 - 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 on a computer.
  • You design a Microsoft SQL Server 2008 Integration Services (SSIS 2008) or Microsoft SQL Server 2008 Integration Services R2 (SSIS 2008 R2) package that imports data from the instance of Microsoft SQL Server to DB2.
  • In the SSIS package, you use OLE DB Provider for DB2 in the OLE DB destination task and then set the Defer Prepare property to True in the connection string.
  • You select a FastLoad option in the OLE DB destination task.
  • You try to execute the package on the computer to move data from the instance of SQL Server to DB2.
In this scenario, you cannot execue the package. Additionally, you receive the following error message:
Error: 0xC0202009 at Fast 1, OLE DB Destination [315]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E14.

An OLE DB record is available. Source: "Microsoft DB2 OLE DB Provider"

Hresult: 0x80040E14 Description: "An internal network library error has occurred. A network level syntax error has occurred. SQLSTATE: HY000,

SQLCODE: -379".

Error: 0xC0047022 at Fast 1, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "OLE DB Destination" (315) failed with error code 0xC0202009 while processing input "OLE DB Destination Input" (328). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.

CAUSE

This issue occurs because the Defer Prepare property prevents the Prepare function from being called on a statement to be executed when the FastLoad interface is involved in the OLE DB Provider for DB2 v3.

RESOLUTION

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

To apply this hotfix, you must have Host Integration Server 2010 or OLE DB Provider for DB2 v3 installed.

Restart requirement

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

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File Information

The global version of this hotfix uses a Microsoft Windows Installer package to install the hotfix. The dates and the times for these files are listed in Coordinated Universal Time (UTC) in the following table. When you view the file information, the date 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 Microsoft OLE DB Provider for DB2 v3, 32-bit edtion
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Db2oledb.dll8.0.4308.0628,56013-Jan-201123:43x86
Microsoft.hostintegration.dataaccesslibrary.dll8.0.4308.0788,37613-Jan-201123:43x86
Msdrda.dll8.0.4308.0898,89613-Jan-201123:43x86
For Microsoft OLE DB Provider for DB2 v3, 64-bit edtion
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Db2oledb.dll8.0.4308.0628,56013-Jan-201123:46x86
Db2oledb.dll8.0.4308.0880,97613-Jan-201123:46x64
Microsoft.hostintegration.dataaccesslibrary.dll8.0.4308.0788,37613-Jan-201123:46x86
Msdrda.dll8.0.4308.01,548,62413-Jan-201123:46x64
Msdrda.dll8.0.4308.0898,89613-Jan-201123:46x86
For Microsoft OLE DB Provider for DB2 v3, IA-64-bit edtion
Collapse this tableExpand this table
File name Version File size Date Time Platform
Db2oledb.dll8.0.4308.01,721,16806-Dec-201019:29IA-64
Microsoft.HostIntegration.DataAccessLibrary.dll8.0.4308.0788,37606-Dec-201019:29x86
Msdrda.dll8.0.4308.02,429,77606-Dec-201019:29IA-64
Db2oledb.dll8.0.4308.0628,56006-Dec-201019:24x86
Msdrda.dll8.0.4308.0898,89606-Dec-201019:24x86

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 about OLE DB destination tasks, visit the following Microsoft Developer Network (MSDN) website:
OLE DB Destination
For more information about the Defer Prepare property, visit the following MSDN website:
Defer Prepare Property

Properties

Article ID: 2465092 - Last Review: February 23, 2011 - Revision: 1.0
APPLIES TO
  • Microsoft Host Integration Server 2010
  • Microsoft SQL Server 2008 Integration Services
Keywords: 
kbautohotfix kbqfe kbhotfixserver kbfix KB2465092

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