Hi all, I have the same issue. I have a script task which calls a webservice. I have the PrecompileScriptToBinaryCode set to true. I have also tried: a) Opening of the script task design windoe and closing it. b) removed all the break points in the design window.
I'm really spending a lot of time solving this issue. Could somebody help out with this?
I'm sorry, forgot to tell you that, it's working perfectly fine on my local machine (32-bit processor) where as when I try running on another server (which is 64-bit processor) it error out saying "script failed to load" Please help !!
This happened to me. I made sure PrecompileScriptToBinaryCode was set to True. I made sure no breakpoints were in the script. I made sure I opened and closed the script. Nothing worked. Still got the "script files failed to load" error.
Then I found the problem. I was copying and pasting a lot of the script together and accidentally changed "Public Sub Main()" to "Private Sub Main()". Oops. Once I changed it back to public, the script worked fine.