Running a script from ASP-page

Running a script from ASP-page

am 26.09.2005 23:21:03 von danc

I need to run a script in a ASP-page.
Everthing runs exect the script.

Set objWShell = CreateObject("WScript.Shell")
Set objCmd = objWShell.Exec("cscript /nologo c:\sss\sasysdag.js
/addclass " & Request.Form("klas"))

I get an error on the Exec-line. On the server it shows ASP-script
access-denied.
After closing the MS-script editor i get

WshShell.Exec error '80070005' in the browser.

Someone know a solution? Or anouther way to run that script?

Re: Running a script from ASP-page

am 27.09.2005 11:30:01 von Steven Burn

http://aspfaq.com/show.asp?id=2091
http://aspfaq.com/show.asp?id=2476

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"DanC" wrote in message
news:C4164F41-A9F2-4A9B-98B2-E2640CC8F03F@microsoft.com...
> I need to run a script in a ASP-page.
> Everthing runs exect the script.
>
> Set objWShell = CreateObject("WScript.Shell")
> Set objCmd = objWShell.Exec("cscript /nologo c:\sss\sasysdag.js
> /addclass " & Request.Form("klas"))
>
> I get an error on the Exec-line. On the server it shows ASP-script
> access-denied.
> After closing the MS-script editor i get
>
> WshShell.Exec error '80070005' in the browser.
>
> Someone know a solution? Or anouther way to run that script?
>
>

RE: Running a script from ASP-page

am 29.09.2005 00:26:11 von danc

I don't know if the first solution helped to solve the problem but it still
not work after.

After giving read and execute permissions to IUSR_computername to the folder
WINNT the problem was solved.

Tnx anyway!