Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find the SSIS Precompile Property for Script Tasks in SQL Server 2008?

I was getting an error after creating a Script Task in SSIS:

Validation error. Script Task : 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.

The error was fixed (just need to BUILD the script successfully) and not relevant to the question.

During my search for answers on StackOverflow, I have found a lot of talks about this "pre-compile" setting, but after clicking on nearly everything in SSIS, I just couldn't find it, hence the question.

I had a suspicion that it was removed in a later version but just couldn't prove it. Please let me know if you happen to know the answer.

like image 213
Louie Bao Avatar asked May 02 '13 01:05

Louie Bao


1 Answers

I have managed to find the answer:

Configuring the Script Component in the Script Component Editor

In SQL Server 2008 Integration Services (SSIS) and later versions, all scripts are precompiled. In previous versions, you specified whether scripts were precompiled by setting a Precompile property for the task.

I wish there is an easier way to locate feature differences between SQL versions.

UPDATE - Thanks to @billinkc, I have pinpointed the section where the change is documented:

Script Task

Unlike earlier versions where you could indicate whether the scripts were precompiled, all scripts are precompiled in SQL Server 2008 Integration Services (SSIS). When a script is precompiled, the language engine is not loaded at run time and the package runs more quickly. However, precompiled binary files consume significant disk space.

like image 179
Louie Bao Avatar answered Nov 10 '22 22:11

Louie Bao