Hi.
I'm having trouble with executing my SSIS packages automatically on SQL Server and also with DTExec. Compared to other packages that run without problem, this in particular, has a C# task script which runs as a webservice to exctract data from Oracle Cloud, keeping it locally as XML and later on uploading that data to an SQL Server.
This is the error message that appears to me the moment i execute it on SQL Server:
"Message
Executed as user: WIN2K8SQL03SRV\SYSTEM. ...0.2000.8 for 64-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 5:16:52 PM Error: 2019-10-01 17:17:06.08 Code: 0x00000005
Source: Script Analisis Gasto Script Analisis Gasto Description: Failed to compiled scripts contained in the package. Open the package in SSIS Designer and resolve the compilation errors. End Error Error: 2019-10-01 17:17:06.08 Code: 0x00000005 Source: Script Analisis Gasto Script Analisis Gasto Description: MSB3086 - Task could not find "sgen.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft
SDKs\Windows\v8.0A\WinSDK-NetFx40Tools-x86". Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed, C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets,
2769, 5 End Error Error: 2019-10-01 17:17:06.18 Code: 0x00000005 Source: Script Analisis Gasto Script Analisis Gasto Description: 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. End Error Error: 2019-10-01 17:17:06.68 Code: 0xC00490F7 Source: STG a DW STG a DW (ora_analisisgasto [2]) Description: The
managed pipeline component "Microsoft.SqlServer.Dts.Pipeline.ADONETDestination, Microsoft.SqlServer.ADONETDest, Version=15.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" could not be loaded. The exception was: Could not load file
or assembly 'Microsoft.SqlServer.ADONETDest, Version=15.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified."
I'm using Windows Server 2008 R2 with SQL Server 2012 and Visual Studio 2017 with the corresponding versions of SDDT.