FIX: SSIS fails when you convert Date Time data by using Data Provider for DB2

Symptoms
You're running a SQL Server Integration Services (SSIS) application that uses the Managed Provider for DB2 that's included in Microsoft Host Integration Server 2013 or in the stand-alone Data Provider for DB2, version 4 or version 5. (This stand-alone provider is included in the Microsoft SQL Server feature pack.) This application imports a column that contains Date Time data (TimeStamp Data Type).

In this situation, you randomly receive the following error message:
Msg 8114, Level 16, State 8, Line 1
Error converting data type DBTYPE_DBTIMESTAMP to datetime2.
Cause
This problem may occur when a TIMESTAMP value is divided between two 32-KB DDM data buffers. In this situation, the TIME parser doesn't convert “time as string” to “OleDb DBTIMESTAMP structure” as expected.
Resolution

Microsoft Host Integration Server 2013

The fix that resolves this problem is included in the following cumulative update:

Cumulative Update 3 for Host Integration Server 2013

Hotfix for Cumulative Update 2 for Host Integration Server 2013

A supported hotfix is available from Microsoft Support for Cumulative Update 2 for Host Integration Server 2013. 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, contact us.

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 Cumulative Update 2 for Microsoft Host Integration Server 2013 installed to apply this hotfix. For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2929767 Cumulative Update 2 for Host Integration Server 2013

Host Integration Server 2010

The fix that resolves this problem is included in Cumulative Update 10 for Host Integration Server 2010.

Microsoft OLE DB Provider for DB2 4.0

Hotfix information

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, contact us.

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.

Microsoft OLE DB Provider for DB2 5.0

Hotfix information

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, contact us.

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.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Properties

Article ID: 3022681 - Last Review: 09/30/2015 20:51:00 - Revision: 2.1

Microsoft Host Integration Server 2013, Microsoft Host Integration Server 2010, Microsoft OLE DB Provider for DB2 5.0, Microsoft OLE DB Provider for DB2 4.0

  • kbautohotfix kbqfe kbhotfixserver kbfix KB3022681
Feedback