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=supportNote 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

File name

File version

File size

Date

Time

Platform

Db2oledb.dll

8.0.4308.0

628,560

13-Jan-2011

23:43

x86

Microsoft.hostintegration.dataaccesslibrary.dll

8.0.4308.0

788,376

13-Jan-2011

23:43

x86

Msdrda.dll

8.0.4308.0

898,896

13-Jan-2011

23:43

x86

For Microsoft OLE DB Provider for DB2 v3, 64-bit edtion

File name

File version

File size

Date

Time

Platform

Db2oledb.dll

8.0.4308.0

628,560

13-Jan-2011

23:46

x86

Db2oledb.dll

8.0.4308.0

880,976

13-Jan-2011

23:46

x64

Microsoft.hostintegration.dataaccesslibrary.dll

8.0.4308.0

788,376

13-Jan-2011

23:46

x86

Msdrda.dll

8.0.4308.0

1,548,624

13-Jan-2011

23:46

x64

Msdrda.dll

8.0.4308.0

898,896

13-Jan-2011

23:46

x86

For Microsoft OLE DB Provider for DB2 v3, IA-64-bit edtion

File name

Version

File size

Date

Time

Platform

Db2oledb.dll

8.0.4308.0

1,721,168

06-Dec-2010

19:29

IA-64

Microsoft.HostIntegration.DataAccessLibrary.dll

8.0.4308.0

788,376

06-Dec-2010

19:29

x86

Msdrda.dll

8.0.4308.0

2,429,776

06-Dec-2010

19:29

IA-64

Db2oledb.dll

8.0.4308.0

628,560

06-Dec-2010

19:24

x86

Msdrda.dll

8.0.4308.0

898,896

06-Dec-2010

19:24

x86

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

Defer Prepare Property

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.