Check this fix:
http://www.microsoft.com/d
If not, check this:
http://support.microsoft.c
If not resolved yet, go to script task and make BUILD
helped?
regards!
Main Topics
Browse All TopicsHi All
In an SSIS Script Task I'm trying to convert a string variable to upper case.
This line --> ConName.ToUpper <> "FRAMEWORK" <-- returns the below compile error
Package Validation Error
--------------------------
ADDITIONAL INFORMATION:
Error at Initialize Connections: The task is configured to pre-compile the script, but binary code is not found. Please visit the IDE in Script Task Editor by clicking Design Script button to cause binary code to be generated.
(Microsoft.DataTransformat
This line --> UPPER(ConName) <> "FRAMEWORK" <-- returns 'Name 'UPPER' is not declared.
Thanks in advance.
Jim
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Check this fix:
http://www.microsoft.com/d
If not, check this:
http://support.microsoft.c
If not resolved yet, go to script task and make BUILD
helped?
regards!
Make sure you have the string variable declared in the ReadWriteVariables property of the Script Task Editor. Make sure it is the correct name of your string varialbe and that your string variable has a Scope of the entire package, or at a minimum, the Scriipt Task.
Make sure the string variable has a value, at least a default value for compiling. I am not absolutely sure this is required, but does not hurt and removes the issue.
Here is a sample script task that worked for me.
Dim ConNameAsIs As String = Dts.Variables("MY_VARIABLE
MsgBox(ConNameAsIs, , "As Is")
Dim ConName As String = Dts.Variables("MY_VARIABLE
MsgBox(ConName, , "UpperCase")
Business Accounts
Answer for Membership
by: HoggZillaPosted on 2008-10-28 at 08:49:15ID: 22823101
Usually the Script Task will underline your error, just like VB.net. Anything underlined?
Paste the Script Task code here so Experts can review. Thanks.