Hi all
I'm fairly new to SSIS, but I've spend hours researching the issue on Google and no luck, so I'm hoping you can help me.
I have a package where I've connected to a web service on my local laptop using a Script Component and everything works fine. I then copy the solution to our production server and deploy it and it still works.BUT, when I try to make any changes in the script, it builds successfully and no red lines inside the editor, but still gives me following error when I close the Script Transformation Editor:"The binary code for the is not found. Please open the script in the designer by clicking edit..."
I believe I've isolated the issue to be related to the web service reference, but I still don't understand why it works fine when I initially open the copied project, but fails the moment I open the script and close it again. Rather than copy the solution, I've also tried to create a new solution and the issue remains when I build a new script from scratch. This is what I've done step by step:
- Start a new solution
- I add a new Data Flow Task
- I add a Script Component in the Data Flow Task and specify it as a source.
- I open the Script Component and click Edit Script...
- I close the Editor without adding any code and verifies we have no errors. So far so good.
- I re-open the Script Component and click Edit Script... again.
- I right-click on References and selects Add Service Reference -> Advanced... -> Add Web Reference
- I paste in the URL for the service: https://webservices.vin65.com/V300/ClubMembershipService.cfc?wsdl
- It gives me a security warning whether I only want to view secure content, I click no a couple of times and it finds 1 Service: ClubMembershipServiceService with 3 methods: GetClubMembership(), SearchClubMemberships() and SearchClubs().
- I click Add Reference, hit save and close the script editor (still no code added).
- I get the error: "The binary code for the is not found. Please open the script in the designer by clicking edit..."
I work on SQL Server 2012.
I've tried where I set the property ValidateExternalMetadate to true on the Script Component and also tried setting DelayValidation to true on the Data Flow Task.
Please let me know if I've supplied insufficient information.
Any help would be much appreciated!
Thanks