Solved

SSIS Error : script is not pre-compiled

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
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 SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

746 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now