473,671 Members | 2,580 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Running a script from ASP-page

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

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

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 2619
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**@discussio ns.microsoft.co m> wrote in message
news:C4******** *************** ***********@mic rosoft.com...
I need to run a script in a ASP-page.
Everthing runs exect the script.

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

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_computerna me 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
2761
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 this would be simple enough if the ASP didn't have any user input, but it does.
1
1813
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 displays fine. We have enabled ASP in IIS/Web Service Extensions but still nothing. There is no error msg, scripts just do not run. Are there furthe
2
5327
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 <script language="JScript"> <!-- function Kontrolle() { var WshNetwork = new ActiveXObject("WScript.Network"); var vDomain = WshNetwork.UserDomain;
0
3698
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 Perl script "DiskQuotas.pl" exactly doing what i want. I created a function (see below) that running the script in a dos-command mode... BUT nothing happens :(( please help me
3
1219
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() meinLabel.text = "Hallo ASP.net Server funktioniert" end sub
0
1018
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 prompt/explorer: Kommant from prompt: runasp.vbs http://localhost/theapp.aspx
21
1585
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"); form.Forename.focus(); return false; }
1
2776
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, Opera 8.0+, Safari xmlHttp=new HttpRequest(); }
1
1770
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
1529
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 not need a response. Unfortunately, the only solutions I have found all require me to be on a Unix system, but this server is running windows. Right now I have a loop which does exec call to PHP and running the second script, but as you...
0
8485
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8403
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8828
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8605
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8677
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7446
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6238
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5704
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
2062
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.