VS_NEEDSNEWMETADATA SSIS error when connecting to IaaS SQL Server on Azure VM that recently upgraded to 2022

Catameo, Fred (Taguig City 1634) 236 Reputation points
2023-07-29T12:39:50.9+00:00

Are there any know issue: VS_NEEDSNEWMETADATA SSIS error running on SQL Server 2019 IaaS on Azure VM when connecting remotely to IaaS SQL Server on Azure VM that recently upgraded to 2022?

Any suggested solution for this error?

User's image

User's image

Remote source SQL Server IaaS on Azure SQL VM version:

Microsoft SQL Server 2022 (RTM-CU1) (KB5022375) - 16.0.4003.1 (X64) Jan 27 2023 16:51:31 Copyright (C) 2022 Microsoft Corporation Enterprise Edition: Core-based Licensing (64-bit) on Windows Server 2019 Datacenter 10.0 <X64> (Build 17763: ) (Hypervisor)

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

2 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 41,446 Reputation points
    2023-07-31T05:28:22.0633333+00:00

    Hi @Catameo, Fred (Taguig City 1634),

    Have you change the target server version to SQL Server2022 and then deploy the package?

    User's image

    Regards,

    Zoe Hui


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


  2. Catameo, Fred (Taguig City 1634) 236 Reputation points
    2023-08-09T10:39:00.25+00:00

    Update on this. It seems the error disappeared when we removed the parameter on SQL command. It seems SQL Server 2022 does not work with the ? parameter on the SSIS SQL command. The SSIS has been running for several years now on SQL Server 2019. The error VS_NEEDSNEWMETADATA and "No column information was returned by the SQL command" suddenly popped up when our source remote SQL server upgraded to SQL Server 2022.

    User's image

    0 comments No comments

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.