Testing a new sql server database server (widows 2019/ sql server 2019).
The old server is windows 2012r2 / sql server 2014
We are running sql agent jobs that call SSIS packages from the SSIS Integrations Services Catalogs.
Initially we deployed projects from old server to the new server (from the SSISDB database, Visual Studios was not involved).
Then we ran sql agents jobs and they worked.
Then to make sure deployment from visual studios still works, from visual studios, I deployed the source code to the new sever by right clicking on the project in visual studios and choosing deploy. There are no errors in the deployment. Before deploying I did a build and there were no errors.
We ran many packages.
After that visual studios deployment to the new server the packages that run a c# script failed, every package that did not run a c# script succeeded on the new server.
The ScriptLanguage is Microsoft Visual C# 2012
I read a post that said to rebuild the scripts in visual studios before deploying. I tried that and it did not help.
I then used visual studios and deployed the packages to the old server.
Then we ran sql agents jobs on the old server and they worked.
Everyone succeeded, same source code.
On the new server the run errors when running the sql agent jobs (or from right clicking and execute from SSISDB) are:
For the package called -REPO_APPL - script for 2 location ind concat failed validation
-The binary code for the script is not found.
For the package called -ER_ERRORLOG
- Cannot load script for execution
For the package called ER_PERSONNEL_COST rerun on error reset LoopCntr to exit
- Cannot load script for execution
- The binary code for the script is not found.
- 'C:\Windows\TEMP.NETFramework,Version=v4.5.AssemblyAttributes.cs' could not be found, CSC, 0, 0
Here is our version of Visual Studios:
Microsoft Visual Studio Ultimate 2013
Version 12.0.40629.00 Update 5
Microsoft .NET Framework
Version 4.6.01055
Summary:
Success running packages on the server with deployment from old server to new server. Failure running packages after deploying from Visual Studios to new sever.
I can deploy from visual studios to the old server, and then deployed that from the old server to the new server and packages will run fine.
That's kind of a crazy work around to get code enhancements to the new server as we want to get rid of the old server.