SSIS Data Flow Task error - The version of the Flat File destination is not compatible with this version of the dataflow.

WMB853 6 Reputation points
2020-10-15T14:09:43.287+00:00

I am trying to edit an SSIS package and getting the error "The version of the Flat File destination is not compatible with this version of the dataflow." when trying to run it from a SQL Agent Job or when performing a validation on the SSIS package from Integration Services Catalogs. If I run it from Visual Studio, it runs fine.

After the above error, during validation of the SSIS package, I also see an error saying the clsid is not compatible. {44152846-e5a6-4edb-8b8e-7072209a7662}

I have seen other posts with people having the same issue - they say to make sure the package is configured for TargetServerVersion 2016 which is the version we are using. I did that and it didn't make a difference. Still getting the error with the Flat File task.

Visual Studio version. 2015 14.0.25431.01 Update 3

SSDT or Integration Services Projects Extension (for VS2019) version. SSDT 2015 14.0.61712.050

Targeted SSIS run-time version on the server. TargetServerVersion is SQL Server 2016

Any help is GREATLY appreciated.

Thanks,
Bill

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

8 answers

Sort by: Most helpful
  1. Barrett, Preston G 1 Reputation point
    2022-01-21T18:22:55.217+00:00

    So I am getting this same error: My TargetServerVersion is SQL Server 2019 and Run64BitRunTime is set to False. However, I am using Visual Studion 2017. What else am I missing on this?

    0 comments No comments

  2. Jovy 1 Reputation point
    2022-03-15T14:17:23.047+00:00

    I have SQL Server 2016 and using Visual Studio Community 2019.

    My TargetServerVersion is set to SQL Server 2016 and I and Run64BitRunTime is set to True but I am still getting the same error when running from SQL job. SSIS package works just fine when running inside Visual Studio.

    Any thoughts please?

    0 comments No comments

  3. Mike Murphy 0 Reputation points
    2024-05-02T18:11:24.7366667+00:00

    Not sure what is going on here, however, i did do an upgrade to visual studio 2019.

    Pulled back the package, that was targetServerVersion of SQL Server 2016. redeployed the package, for some reason, it was pushed back to targetServerVersion of SQL Server 2022.

    Question for Microsoft, why does this TargetServerVersion change happen?

    This has not been the first time!!!