Solved

SSIS Error : script is not pre-compiled

Posted on 2013-06-17
1
816 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Query Optimization 14 45
Simple SQL query from two tables 13 54
Rename a column in the output 3 14
SQL Function NOT ROUND 9 11
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Here's a requirements document template for an integration project (also known as Extract-Transform-Load or ETL) based on my development experience as an SQL Server Information Services (SSIS) developer over the years.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

821 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