value doesn't fall within expected range (microsoft.sqlserver.ManagedDTS)

Kaveya S 6 Reputation points
2022-12-20T17:59:17.873+00:00

i have to deploy SSIS project developed in visual studio 2019 into SQL server 2017. i have newly adde some execute sql tasks and rebuild the solution. Then I try to deploy it in SSMS it got the error as
value doesn't fall within expected range (microsoft.sqlserver.ManagedDTS). after removing those execute sql task, the project deployed successfully. i restarted visual studio. But still error persists.
Kindly provide me with perfect solution for this.
272556-image.png

272604-capture.png

SQL Server Integration Services
{count} vote

2 answers

Sort by: Most helpful
  1. Yitzhak Khabinsky 27,091 Reputation points
    2022-12-20T18:39:50.287+00:00

    Hi @Kaveya S ,

    (1) You need to check SSIS Project ProtectionLevel setting value.
    It is recommended to set it as DontSaveSensitive.

    It may ask you to set the same ProtectionLevel value for each SSIS package in the project.

    (2) Please ensure that you are using SQL Server Integration Services Projects extension for VS2019 v3.16, and ignore v.4. versions.
    (3) If you are using SSIS Script Task, please check that VS2019 .Net Framework version is installed on the SSIS run-time server.
    (4) Please ensure that SSIS project TargetServerVersion is matching SSIS run-time version on the server.

    272887-ssis-targetserverversion.jpg


  2. ZoeHui-MSFT 41,531 Reputation points
    2022-12-21T01:29:11.677+00:00

    Hi @Kaveya S ,

    The error message tells us that you need to change protection level.

    See access-control-for-sensitive-data-in-packages.

    Regards,

    Zoe Hui


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


Your answer

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