February 25, 2011 at 1:35 am
Hi all
Using SQL 2008 R2, Visual Studio 2008
I have created a SSIS Package that checks a location for a file, and loops until it exists and then mails the file to a recipient.
When creating the script task i have an option of using ScriptLanguage: Microsoft Visual Basic 2008 or Microsoft Visual C# 2008, i used Microsoft Visual Basic 2008
Here is the package: http://dichotic.wordpress.com/2009/10/20/ssis-waiting-for-a-file/
However, when inserting the script into the script editor, all the lines that reads "Dts.Variables" are underlined with error: Name 'DTS' is not declared.
I have no experience in scripting, can someone please help?
Much appreciated
Ruan
February 25, 2011 at 1:52 am
Sounds like a better bet might be the WMI watcher
February 25, 2011 at 2:47 am
Thanks Dave! It works, much quicker than using all the scripting tasks.
Thank you.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply