Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Status

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

↑ Back to the top


Keywords: kbautohotfix, kbqfe, kbhotfixserver, kbfix, kb

↑ Back to the top

Article Info
Article ID : 3022681
Revision : 1
Created on : 1/7/2017
Published on : 9/30/2015
Exists online : False
Views : 342