Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Web Reference inside Script Task causes Binary code for script not found error

$
0
0

I am attempting to access a SOAP web API (sales force) from a SSIS package. To do this I created a script task.

Inside the script task I went to Add Service Reference. Then I click advanced to make it a web reference. Then I point it to the WSDL file and give it a name SFEnterprise. It successfully finds and adds the Web Reference to the script task.

I leave scriptMain.cs alone and I have no warnrings and no errors. Now in the solution explorer I right-click the script task and hit BUILD. I see the message from Output that BUILD succeeded.

I close the VSTA script editor and now I am back on the control flow window. However I have a red X on the script task with the following message. "The Binary code for the script is not found. Please open the script in the designer by clicking EditScript button and make sure it builds successfully"

But it does build successfully! And I have not even added any custom code except for the web reference using the WSDL file.

I am using SSIS 2012 and Visual Studio 2012. I have been reading about this binary code error message on Google searches and suggestions about delay validation and turning off pre-compile do not apply to SSIS 2012.

Is SSIS not capable of doing this?


Viewing all articles
Browse latest Browse all 24688

Trending Articles