Hi
I have an ispac built from a SSIS project. the project contains a script task. the project executes successfully in VS (2019). if i deploy the ispac using the deployment wizard (double clicking on the ispac file) into the sql server SSISDB/Integration Services Catalog, the project runs from there just fine. If i deploy the project from VS into the SSISDB/Integration Services Catalog the project runs fine too.
if i use my powershell script to deploy the ispac, using both SMO and SQL2017ManagementAssemblies (which has a Publish-SSISProject cmdlet) then it deploys successfully into SSISDB/Integration Services Catalog but doesn't execute at all, and return the following error when executing...
Data Flow Task:Error: "tasknamehere" failed validation and returned validation status "VS_ISBROKEN".
Data Flow Task:Error: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.
Obviously i can't do what it suggests as it's deployed into the catalog on the sql server (which has no dev software on it).
Why does it fail like when deployed via Powershell? It's SQL Server 2017 by the way, and the targetsqlversion is 2017.
thanks