SQLSearcher
asked on
SSIS to run a VBS script
Hello Experts Exchange
I have a VBS script that will open a Excel spreadsheet run a macro and the close the file. I want to be able to run the VBS file within a SSIS package, I have tried to run it with the Execute Process Task but this did not work.
Can you tell me in step by step instructions how I can get my VBS to work in SSIS please?
Regards
SQLSearcher
I have a VBS script that will open a Excel spreadsheet run a macro and the close the file. I want to be able to run the VBS file within a SSIS package, I have tried to run it with the Execute Process Task but this did not work.
Can you tell me in step by step instructions how I can get my VBS to work in SSIS please?
Regards
SQLSearcher
did you try using ActiveX Script task?
Drag and drop ActiveX Script task, double-click the task, in Script part specify language property as VBScript and in script property click on a 3 dot button and copy and paste your VBScript code there.When you run it, most likely you will get an error that DTS 2000 is not installed. Install it following directions here
http://msdn.microsoft.com/en-us/library/ms143755.aspx
http://msdn.microsoft.com/en-us/library/ms143755.aspx
ASKER
Hello YZlat
I can not see ActiveX Script task in my SSIS Toolbox, is there something I need to do to make this visible?
I am using SQL Server 2012 Standard edition.
Regards
SQLSearcher
I can not see ActiveX Script task in my SSIS Toolbox, is there something I need to do to make this visible?
I am using SQL Server 2012 Standard edition.
Regards
SQLSearcher
I am using 2008 and it is there. Perhaps it got removed in 2012. Let me check
Yep, in 2012 is has been discontinued:
http://blogs.msdn.com/b/mattm/archive/2012/05/04/migrating-sql-server-2000-ssis-packages-to-sql-server-2012.aspx
http://blogs.msdn.com/b/mattm/archive/2012/05/04/migrating-sql-server-2000-ssis-packages-to-sql-server-2012.aspx
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hello YZlat
I see Execute Process task but it will not run my VBS script file.
Regards
SQLSearcher
I see Execute Process task but it will not run my VBS script file.
Regards
SQLSearcher
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
My solution has part of the answer.