473,320 Members | 2,024 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Running a script from ASP-page

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?
Sep 26 '05 #1
2 2602
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" <Da**@discussions.microsoft.com> wrote in message
news:C4**********************************@microsof t.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?

Sep 27 '05 #2
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!
Sep 28 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Jonathan Heath | last post by:
Hi all, I have created an ASP script that enters data into an Access Database. My problem is that I'd like this script to run when the computer is shutdown or the user logs off. I think...
1
by: gregoryenelson | last post by:
Hi. Our inter/intranet server has just been upgraded to Windows Serve 2003, IIS6, running Sharepoint. I cannot now run even a "Hello World" ASP (not aspx/.net) script although static html...
2
by: Christoph | last post by:
The following script works fine on two Webservers in the internet, but it doesn't work on my local Webserver (Xitami). I also tried the IIS, with the same result - the script isn't forwarding me ...
0
by: Titof | last post by:
Hello, i want to create an active webpage that displays the status of users quotas on a volume of a server. I installed IIS on this server and installed Win2k server Resource Kit because the...
3
by: ernst | last post by:
Hello, I cannot get ASP.NET running with a simple testfile called "test.aspx". It contains the following lines: <html> <head> <script language="vb" runat="server"> sub page_load()...
0
by: JIK | last post by:
Hi. I want to schedule an asp.net app running on a win2k server/iis. The asp.net app is installed and works fine in the browser. It also works fine from ab vb script when I run it from the...
21
by: kevinfairs | last post by:
I've got the following javascript validation routine which runs against an asp page. function validate(form) { if (form.Forename.value == "") { alert("Please enter a forename");...
1
by: Angus | last post by:
Hello I am running this example from http://www.w3schools.com/ajax/ajax_server.asp <html><body> <script type="text/javascript">function ajaxFunction() { var xmlHttp; try { // Firefox,...
1
by: Allen | last post by:
SO: W2003 Web server: IIS6 & ASP 3.0 (not .NET) I use this simple script: <% RESPONSE.Write "<BR>INIZIO PROCEDURA CONVERSIONE XLS..." 'CREO IL FILE EXCEL
1
by: sverkaik | last post by:
I have a PHP script which needs to run some other PHP scripts from within it. I need them to be executed on a timed basis, say, every minute. However, they can take a little while to run, and I do...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.