September 2, 2025 at 7:28 pm
Hi all, this is my first time posting on this forum, thank you all very much in advance.
I have a .dtsx package open in Visual Studio, and one of the Script Tasks are erroring with "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." "... failed validation and returned validation status "VS_ISBROKEN"."
I tried to follow the instructions and open the script task and click Edit Script, where I was meet with a modal prompting me to Update to a later version of the .NET framework (see screenshot #1). Regardless on if I update the framework or click the X to ignore it, both open the script to a blank page, where it says the project was unloaded (screenshot #2). I've tried to "Reload Project" (screenshot #3) to which it prompts me again to Update the target. This time, you can briefly see the structure of the script task in the solution explorer, with the main.cs, BufferWrapper.cs, etc. being visible (screenshot #4). Although, no matter if I click to Update or the X to ignore, both return the screen to the previous screenshot, a blank script page.
If I can get some assistance on this, that would be greatly appreciated. I've looked this up extensively and tried random solutions I saw online, but none work. Reverting to a lower version number of SQL Server for the project did nothing, same error. It seems as though the Updating of the target is just not working every time.
Thank you.
Viewing post 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply