The binary code for the script is not found | VS2016

Raghuvamsi Lvs 0 Reputation points
2023-05-18T17:28:07.5833333+00:00

Dear All,

we developed SSIS packages for SQL server 2016 in visual studio 2016, now we are upgrading the sql server from 2016 to 2022 CU2 version. when we replaced the script components which contains C# code in all SSIS packages and deployed in Sql Server 2022 causing the below error

ERROR:

The binary code for the script is not PREFERENCES found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.

Below are the things which we tried

a) Replacing the script components which are causing issue with new components

b) Rebuilding the script components

we are trying the solution for several days. Nothing is working

Please help in finding the solution for this issue

Configuration Details:

Microsoft SQL Server Data Tools for Visual Studio 2017 Version 15.9.52

Microsoft SQL Server Integration Services Designer Version 15.0.2000.180

VisualStudio.15.Release/15.9.52+33403.129

Microsoft .NET Framework Version 4.8.04084

BimlExpress 1.0

BimlExpress is a Visual Studio extension for editing and building Biml files.

C# Tools 2.10.0-beta2-63501-03+b9fb1610c87cccc8ceb74a770dba261a58e39c4a

C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools 1.10

Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

NuGet Package Manager 4.6.0

NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Project 1.0

Information about my package

ProjectServicesPackage Extension 1.0

ProjectServicesPackage Visual Studio Extension Detailed Info

ResourcePackage Extension 1.0

ResourcePackage Visual Studio Extension Detailed Info

ResourcePackage Extension 1.0

ResourcePackage Visual Studio Extension Detailed Info

SQL Server Analysis Services 15.0.19623.0

Microsoft SQL Server Analysis Services Designer Version 15.0.19623.0

SQL Server Data Tools 15.1.62002.01090

Microsoft SQL Server Data Tools

SQL Server Integration Services 15.0.2000.180

Microsoft SQL Server Integration Services Designer Version 15.0.2000.180

SQL Server Reporting Services 15.0.19528.0

Microsoft SQL Server Reporting Services Designers Version 15.0.19528.0

SsmsVsIntegration 1.0

Information about my package

Visual Basic Tools 2.10.0-beta2-63501-03+b9fb1610c87cccc8ceb74a770dba261a58e39c4a

Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual Studio Code Debug Adapter Host Package 1.0

Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

SQL Server Integration Services
SQL Server | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Yitzhak Khabinsky 27,091 Reputation points
    2023-05-19T15:57:28.2533333+00:00

    @Raghuvamsi Lvs ,

    I would suggest the following combination:

    • VS2019 any edition
    • SQL Server Integration Services Projects extension for VS2019, version 4.4

    https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects

    1 person found this answer helpful.

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.