SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Adding a C# import causes SSIS error ?


Adding a C# import causes SSIS error ?

Author
Message
blasto_max
blasto_max
Old Hand
Old Hand (367 reputation)Old Hand (367 reputation)Old Hand (367 reputation)Old Hand (367 reputation)Old Hand (367 reputation)Old Hand (367 reputation)Old Hand (367 reputation)Old Hand (367 reputation)

Group: General Forum Members
Points: 367 Visits: 480
In my simple C# script task was getting the error -

Package Validation Error

Error at Send Mail: 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. Error at Send Mail: There were
errors during task validation.

(Microsoft.DataTransformationServices.VsIntegration)

In my case I was just using a simple try catch block to catch Exception in simple code. I added a using System.Exception;
I got the error after that. I just realized that this import is not needed and is the cause of the error. I don't know why it causes an error in SSIS.
Evil Kraig F
Evil Kraig F
SSCrazy Eights
SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)

Group: General Forum Members
Points: 8555 Visits: 7660
blasto_max (12/30/2013)

Error at Send Mail: 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. Error at Send Mail: There were
errors during task validation.


The most common cause of this error is a syntax error where the compiler didn't build the binary for the object. Go in and check it.


- Craig Farrell

Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

For better assistance in answering your questions | Forum Netiquette
For index/tuning help, follow these directions. |Tally Tables

Twitter: @AnyWayDBA
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search