dbTalk Databases Forums  

Can I execute a .vbs file using DTS?

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Can I execute a .vbs file using DTS? in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ejgreen
 
Posts: n/a

Default Can I execute a .vbs file using DTS? - 11-20-2003 , 09:46 AM






I have a <file>.vbs file that builds a .js file that I am using for a website. Can I use DTS to run the <file>.vbs file? If so. how?

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Can I execute a .vbs file using DTS? - 11-20-2003 , 10:18 AM






Can you not call it through the ExecuteProcess task ?

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"ejgreen" <ejgreen (AT) teppco (DOT) com> wrote

Quote:
I have a <file>.vbs file that builds a .js file that I am using for a
website. Can I use DTS to run the <file>.vbs file? If so. how?




Reply With Quote
  #3  
Old   
ejgreen
 
Posts: n/a

Default Re: Can I execute a .vbs file using DTS? - 11-20-2003 , 11:01 AM



Referencing a <file>.vbs by using the Execute Process Task in SQL DTS generates one of the -214.......errors

The typical file formats for Execute Process Task are .exe , .dat, .bat, etc.

I guess it cannot run .vbs files

My .vbs file make a connection to an Oracle database then create a filesystemobject to place data in a .js file

I just want to run these vbs script files as part of my DTS package.

Any other thoughts????

Reply With Quote
  #4  
Old   
ejgreen
 
Posts: n/a

Default Re: Can I execute a .vbs file using DTS? - 11-20-2003 , 11:21 AM



Actually Allan, I got it to work by copying for .vbs file into a ActiveX script task. I just had to change my DataSource from Microsoft Oracle connection to the Oracle connection.....

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.