|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
WSH Error Any help ?
<i><b>Originally posted by : Vinod Mohan (vnhocus@hotmail.com)</b></i><br />The following error comes when I run a page which calls the Wscript.Shell component though I have already downloaded and installed the windows scripting host already<br /><br />Microsoft VBScript runtime error '800a01ad' <br /><br />ActiveX component can't create object: 'WScript.Shell' <br /><br />/web/WSH/wsh.asp, line 11 <br /><br />The script which generates this error is <br /><br /><%<br />dim wsh<br />set wsh = createobject("WScript.Shell")<br />wsh.run("c:winnt
otepad.exe")<br />set wsh = nothing<br />%> |
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : Michael Elfial (michael@newobjects.com)</b></i><br />Hello to the thread
<br /><br />This will work with ALP (http://www.newobjects.com/alp) but with ASP ... may be sometimes. <br /><br />First ASP runs in the process space of some service - IIS or MTX depending on the configuration. They both are in a separate Window station. Thus Starting notepad will do no good - it will start in invisible desktop. I'm nost absolutely sure but it seems that WshShell depnds on the running instance of Windows Explorer shell. Thus you can expect many problems with it in at the server side. It will be better to find another component that does the same thing.<br /><br />I used telnet with my NT4 server and I noticed that WshShell can not work if there is no interactive user locally (not telnet session but normal local logon instead).<br /><br />Micahel<br /><br /><br />------------<br />Vinod Mohan at 5/16/2001 7:08:28 AM<br /><br />The following error comes when I run a page which calls the Wscript.Shell component though I have already downloaded and installed the windows scripting host already<br /><br />Microsoft VBScript runtime error '800a01ad' <br /><br />ActiveX component can't create object: 'WScript.Shell' <br /><br />/web/WSH/wsh.asp, line 11 <br /><br />The script which generates this error is <br /><br /><%<br />dim wsh<br />set wsh = createobject("WScript.Shell")<br />wsh.run("c:winntotepad.exe")<br />set wsh = nothing<br />%> |
|
#3
|
|||
|
|||
|
<i><b>Originally posted by : Borinquen (clau@drc.com)</b></i><br /><br />In my case I do not get the message, it seems to be loading something for the longest time, but nothing happens. What else can I use to do the same thing?<br /><br />------------<br />Michael Elfial at 6/23/2001 10:07:34 AM<br /><br />Hello to the thread
<br /><br />This will work with ALP (http://www.newobjects.com/alp) but with ASP ... may be sometimes. <br /><br />First ASP runs in the process space of some service - IIS or MTX depending on the configuration. They both are in a separate Window station. Thus Starting notepad will do no good - it will start in invisible desktop. I'm nost absolutely sure but it seems that WshShell depnds on the running instance of Windows Explorer shell. Thus you can expect many problems with it in at the server side. It will be better to find another component that does the same thing.<br /><br />I used telnet with my NT4 server and I noticed that WshShell can not work if there is no interactive user locally (not telnet session but normal local logon instead).<br /><br />Micahel<br /><br /><br />------------<br />Vinod Mohan at 5/16/2001 7:08:28 AM<br /><br />The following error comes when I run a page which calls the Wscript.Shell component though I have already downloaded and installed the windows scripting host already<br /><br />Microsoft VBScript runtime error '800a01ad' <br /><br />ActiveX component can't create object: 'WScript.Shell' <br /><br />/web/WSH/wsh.asp, line 11 <br /><br />The script which generates this error is <br /><br /><%<br />dim wsh<br />set wsh = createobject("WScript.Shell")<br />wsh.run("c:winntotepad.exe")<br />set wsh = nothing<br />%> |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > WSH Error Any help ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|