?
Solved

SSIS Error : script is not pre-compiled

Posted on 2013-06-17
1
Medium Priority
?
877 Views
Last Modified: 2016-02-11
Hi There,
I've been getting this message today when I run an existing SSIS task I had set up:
"The task cannot execute in 64-bit environment because the script is not pre-compiled. Please turn on the option to pre-compile the script in the task editor. "

This seems to be because of  a recent change in the common language runtime (CLR) workstation runtime (Mscorwks.dll) for builds of the Microsoft .NET Framework 2.0 later than 2.0.50727.832. The change introduces a binary-compatibility problem for the Microsoft Visual Basic runtime engine (Vsavb7rt.dll) that VSA and SSIS use. The problem prevents assemblies from generating correctly during the macro compilation operation. This problem causes existing packages that contain compiled scripts not to execute.


So I went to the MS website for a hotfix: http://support.microsoft.com/kb/931846
And have been reading through this, but when it tells me what type of fix to install - i'm totally confused, as none of them are relevant to my setup.

The method types for installing are:
1. Install SP2 -
2. And then if you don't want to install SP2 it would suggest that I was on SP1 then and gives me options for that.

my confusion lies in that when I checked my version type
Select @@version
 my results are:
"Microsoft SQL Server 2005 - 9.00.5000.00 (X64)  
Dec 10 2010 10:38:40   Copyright (c)
1988-2005 Microsoft Corporation  Enterprise Edition
(64-bit) on Windows NT 5.2 (Build 3790: Service Pack 2) "

So now i'm unsure what to do now. has anyone had this problem before?
Thank you ,
P
0
Comment
Question by:Putoch
1 Comment
 

Accepted Solution

by:
Putoch earned 0 total points
ID: 39254731
Ok so I just spotted this blog:
http://ssis-dtsx.blogspot.com/2010/03/cannot-execute-in-64-bit-environment.html

And one thing I hadn't checked was to open each script task and go into the actual script and close it out so it would recompile it. This worked for me. I hope it will work for someone else if they have this issue.
Thanks,
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question