Solved

SSIS Error : script is not pre-compiled

Posted on 2013-06-17
1
835 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

734 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