SSIS Package with ODBC Source works when TargetServerVersion is 2017 but doesn't work when is 2019

Arturo Rodriguez Cobo 151 Reputation points
2021-05-27T10:41:57.027+00:00

Hello, we have a SSIS Package with a ODBC Source for extracting data from a DB2 data base. This package works perfectly in Visual Studio 2017 and TargetServerVersion SQL Server 2017. When we try to run this package in Visual Studio 2019 and TargetServerVersion SQL Server 2019 it fails.

Even if we create a SSIS project from scratch and try to use a ODBC Source to DB2 in VS2019 still fails.

We have tried some other things like change the Batch Size. Depend on the Source Table, if we set the Batch Size to 1 it works, but not with all tables. With the default Batch Size (1000), the Data Flow seems to work, but get a error message and the number of rows is not equal to the number of rows of the source table:
100205-image.png

If we create a SSIS project in VS2019 but set TargetServerVersion to SQL Server 2017, it works, but our production server is SQL Server 2019.

Visual Studio Info:
Microsoft Visual Studio Professional 2019
Versión 16.10.0
VisualStudio.16.Release/16.10.0+31321.278
Microsoft .NET Framework
Versión 4.8.04084

SQL Server Integration Services Projects extension version 3.13.1

SQL Server Analysis Services 15.0.19526.0
Diseñador de Microsoft SQL Server Analysis Services
Versión 15.0.19526.0

SQL Server Data Tools 16.0.62105.04180
Microsoft SQL Server Data Tools

SQL Server Integration Services 15.0.2000.166
Diseñador de MS SQL Server Integration Services
Versión 15.0.2000.166

SsmsVsIntegration 1.0

Any solution?

Thanks.

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,576 questions
{count} votes

Accepted answer
  1. Arturo Rodriguez Cobo 151 Reputation points
    2021-05-31T08:15:58.823+00:00

    Problem solved installing the latest version of the IBM i Access ODBC Driver: 13.64.25.00

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. ZoeHui-MSFT 36,511 Reputation points
    2021-05-28T08:05:11.49+00:00

    Hi @Arturo Rodriguez Cobo ,

    It is a bit hard for us to narrow down the issue.

    Could you please share the error message with us so that we could do more analysis?

    Is the issue only occur with ODBC?

    Could you help test that create a simple package with flat file to see if the issue will occur?

    Regards,

    Zoe


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    Hot issues October


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.