Running a WSH vbs from ASP 
Author Message
 Running a WSH vbs from ASP

    I need to run a WSH vbs from ASP, I am using
server.CreateObject("WScript.Shell") and the Run function in my ASP to try
to run the file.

    The first time through it worked fine. But now it seems to just not be
opening the file at all.

    I cannot use xp_CmdShell in SQL to run the vbs.

TIA
Josh



Sat, 05 Oct 2002 03:00:00 GMT  
 Running a WSH vbs from ASP
First of all, what are you running in the vbs file, is it trying to access
another computer?  If so, you may have a problem with the IPC$ share
connection. Try setting up a scriptlet and register it with MTS.

Secondly, why aren't you able to use the Extended Stored Procedure?


Quote:
>     I need to run a WSH vbs from ASP, I am using
> server.CreateObject("WScript.Shell") and the Run function in my ASP to try
> to run the file.

>     The first time through it worked fine. But now it seems to just not be
> opening the file at all.

>     I cannot use xp_CmdShell in SQL to run the vbs.

> TIA
> Josh



Sun, 06 Oct 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. how to run .vbs using wsh

2. How to Run a program with vbs/wsh

3. Running ASP Script as .VBS

4. how to run vbs file from asp ?

5. Run vbs from ASP (W2K/IIS5)

6. Running VBS file from ASP file on Server

7. Run VBS file from ASP - work sometimes (expert level) (COM+)

8. how to run vbs from asp (via cscript.exe)

9. Howto run a vbs script from asp page?

10. Run VBS file from ASP - work sometimes (expert level) (COM+)

11. Running vbs from asp?

12. run .vbs from asp page, possible????

 

 
Powered by phpBB® Forum Software