Running a script from ASP-page

D

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?
 
D

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top