Adding a C# import causes SSIS error ?

  • 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.

  • 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[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply