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


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.


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.


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: 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.


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
File nameFile versionFile sizeDateTimePlatform
For Microsoft OLE DB Provider for DB2 v3, 64-bit edtion
File nameFile versionFile sizeDateTimePlatform
For Microsoft OLE DB Provider for DB2 v3, IA-64-bit edtion
File name Version File size Date Time Platform


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:For more information about the Defer Prepare property, visit the following MSDN website:

Id. de artículo: 2465092 - Última revisión: 23 feb. 2011 - Revisión: 1