tags:

views:

306

answers:

1

Hi , I have a problem while executing a SSIS script component. To be honest I am learning SSIS and for the script component, I am going thru The Script Component as a Transformation Article. I have so far done whatever has been stated there . But while I am trying to execute the package, I am encountering the below error

TITLE: Package Validation Error
------------------------------

Package Validation Error

------------------------------
ADDITIONAL INFORMATION:

Error at Data Flow Task [Script Component [16]]: The script component is configured to pre-compile the script, but binary code is not found. Please visit the IDE in Script Component Editor by clicking Design Script button to cause binary code to be generated.
Error at Data Flow Task [DTS.Pipeline]: "component "Script Component" (16)" failed validation and returned validation status "VS_ISBROKEN".

Error at Data Flow Task [DTS.Pipeline]: One or more component failed validation.

Error at Data Flow Task: There were errors during task validation.

 (Microsoft.DataTransformationServices.VsIntegration)

------------------------------
BUTTONS:

OK
------------------------------

A bit of googling reveals the following Package Validation Error . So after going thru that , I understood what is the cause of the problem but how to rectify that , I don't know. Moreover, debugging is not possible.

Please help me.

EDIT

At last I found out that the Precompiled Option should be set to FALSE. Default is TRUE. It solved the problem.

Thanks

A: 

You typically get this error when some portion of your script is no longer functioning correctly. This is often due to a dependency in the script that is no longer valid. Why can't you debug the package? If this is not your package then you're going to have to find the person who wrote it and have them fix the errors.

Randy Minder
But the debugging option is not there
priyanka.bangalore
Even I tried with a simple example as MsgBox("hello") . Then also I got the same error. As I mentioned that I myself is learning so I cannot figure out why? Is there any setting that I need to do?
priyanka.bangalore
Kindly guide me please
priyanka.bangalore
The debugging options is not there? What does that mean? Simply press F5 within Visual Studio to start running the package in Debug mode.
Randy Minder
Thanks you sir. I found out the solution. Precompiled Option should be set to FALSE . Dafault it is True. And regarding debugging, I have notified all those what your are saying, but by some reason even after pressing F5, it is not working.But thanks a lot
priyanka.bangalore

related questions