Error Running Bat File From ASP Page
I am using windows 2000 server IIS 5.0
i was trying to run bat file from asp page and getting: Access Denied
but when i run the bat file from the command prompt on the local server, it's running good the bat file copying files from target computer in the LAN to the local
computer, o.k
i give write and execute permission on the IIS for this site on the local folder(where the bat file) i assign full NTFS access for "test" user on the target computer i shared the folder with Everyone Full control and assign Full NTFS access for the "test" user
but still cannot run the .bat file
where it can be the problem, how i need to set the site on the IIS to run the bat file?
any how to run bat file from ASP page document?
View Replies
ADVERTISEMENT
This is the error which i got when i tried to display message in my text box which is a aspx page.
Error which i got:Server Error in '/' Application.
--------------------------------------------------------------------------------
Runtime Error :
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
View Replies
View Related
I've a strange problem with Windows Vista, running an ASP page on local
machine (http://localhost/test.asp), the page does not give me any error but
the asp code is not executed (simple code : <% response.write("hello") %),
it show me a blank page, I think I've put all the setttings correctly, but
maybe I must do something obvious to fix that.
View Replies
View Related
I have 3 ASP pages. Page1 has file upload feature where the user selects a file and clicks on upload button. Page2 takes that uploaded file and process the records to insert into the database. Page3 shows that records from the database. Code:
View Replies
View Related
What is required to run asp.net page with extension .aspx file,on win 2000 server with IIS ,it is not working,what upgrade is required ,I am using IE6 also.
View Replies
View Related
I have been connected with proxy software which is not allonwing me to run my asp page in my local host giving the error :
Does not support loopback URL
URL Address here
what shall I do to run and see the result.
View Replies
View Related
I know there have been posts about this issue before, but I can't seem to find what I'm looking for. I'm not well versed in ASP, but in PHP there is a function called exec. This launches a process. I can call a PHP script from the command line and have it run in the background i.e.
<?php
exec(php myscript.php &);
?>
is there a way to do the same thing with ASP? I want to run an ASP script in the background
View Replies
View Related
I am trying to run an ASP page in IIS 6.0 and I keep getting one of
two errors:
-2147467259 (0x80004005)
The remote procedure call failed and did not execute.
I have Win XP. It's been running fine for a long time and then
yesterday, for no apparent reason, I get this. I've tried the links
to asp.faq that I've seen others post and nothing works.
As a test, I created a simple ASP page with just '<%
Response.Write("Hello") %>' in it and still the error occurs so it's
not a scripting or database problem. DotNet seems to run fine and I
can run HTML pages, I also have Apache and can run PHP scripts with no
problem ... everything except classic ASP.
Any ideas? This is driving me crazy and I need IIS running because I
am falling behind in my work. As I mentioned, I've been running ASP
scripts on this machine for years and have never seen this problem.
View Replies
View Related
I installed pws(pws10a.exe) and tried running a sample asp code.I get nothing but a blank page.
View Replies
View Related
I have my website with an Iframe in the middle of the main index. I have a point where you click and it changes the index page and loads a certain html or asp page in the iframe. I have this set up using this code:
View Replies
View Related
I am design an web application that requires information mation to be created from tables once a day, once this information has been created it is stored temporarily in another table until the folowing day. The problem is that to creat this information a seperate .asp page has to run.
I would like this page to run early in the morning when no one is in the building and accessing the servers. I have tried using windows scheduler... this works but still needs a user to press ok on the internet security password screen we have set up. Is there any other way to get the page to run without using the browser, or to change the page into a dfferent format??
View Replies
View Related
I have an asp page that will be updating the data from one database into my sql server database every 3 hours. I'd like to write code that will tell the page to automatically run every three hours. How do I do this?
View Replies
View Related
if it's possible to run an .exe or other command line utility form an .asp page? What I am trying to do is have a report request page where the user would supply a few details, and then submit. At this point I am hoping to pass the data to an .exe. This .exe will write its output to a text file which will be read and displayed on the page. Is this
easily accomplished?
View Replies
View Related
if it was possible to put a function in the global.asa that would call/run a page every x minutes. I have an ASP page that writes a text file and I want that file to be updated/rewritten in the background every 30 minutes so that pages that call the file are current. I have requirements as to why it can't just be a dynamic page and needs to be a text/htm file.
View Replies
View Related
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:ssssasysdag.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?
View Replies
View Related
I have created some SQL files which i can run on the Oracle console. Code:
View Replies
View Related
I have this situation where I have one shared folder on particular server
and this folder is shared for just one user to access it. I wrote an asp page
wich should open a file from that shared folder. However because the folder
is shared for just one user I have somehow to run the asp page as this user.
The same way like in ASP.NET application where I can use impersonation in
web.config file. Is this possible?
View Replies
View Related
Can you run an client application (i.e. Excel) from an ASP web page? I want
to open an Excel document that is stored on the network in the Excel App (not
in browser window) allow the user to make changes to the file and then save
the file back to the network. If this is possible how do I do it?
View Replies
View Related
i'm trying to run a .vbs file from my asp web page using wscript but keep getting a 'permission denied' error on line 5
here is the code:
<%
Dim oShell
Set oShell = Server.CreateObject ("WSCript.shell")
oShell.run "C:inetpubwwwrootib_submit.vbs" '(line 5)
Set oShell = Nothing
%>
View Replies
View Related
Was wondering if anyone had any suggestions on how to execute a local batch file by simply pressing a button on an ASP page?
View Replies
View Related
how to run a local Batch file from an asp page by simply pressing a button on the page?
View Replies
View Related
Is there any wayto run an exe file in the Client PC with ASP, bypassing the security warning popup?
View Replies
View Related
I've built a simple/beginner's program and I'm trying to run it and receive the following error:
Error while trying to run project: Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled.
View Replies
View Related
I have sucessfully installed IIS 5.1 on XP Pro, and have validated a couple of test .asp pages.
When I try to connect to Access through Front Page, i get the following error:
The Database Results component on this page is unable to display database content. The page must have a filename ending in '.asp', and the web must be hosted on a server that supports Active Server Pages.
View Replies
View Related
I work for a security system company. I'm in the installation department. One of the things we do is go to our monitoring service's website and check the signals to see if we got all of the signals for a particular alarm system.
Unfortunately, that means refreshing the page alot.
So, I started off using an iframe page to refresh the content i wanted. the only problem was that the urls i used to login and set the customer ID would go to another page.
So I tried to create a frameset document. However, the .asp pages completely ignored the frameset information. Code:
View Replies
View Related
I am running IIS 6.0 on Windows 2003.
I would like to be able to run a perl script from a web page and
include the output.
I have tried doing it with an ssi:
<form action='docsearch.shtml' method='get'>
<!--#exec cgi="/cgi-bin/docsearch.pl-->
</form>
This correctly ran the script, but it was unable to include the
QUERY_STRING from the parent URL into the included perl script, and
there seems no work around to enable me to do that on IIS 6.0,
therefore on this thread:
http://groups.google.com/group/micr...6ae0d85395a3d72
I was recommended: "to a simple ASP page which will easily do exactly
what you want because it actually has the functionality you want, by
intention, and is supported." Code:
View Replies
View Related
i used following code:
<%
set wshell = server.createobject("WScript.shell")
wshell.run "E:aaa.bat"
set wshell = nothing
response.write("worked")
%>
It does not show any error message and gives the output "worked"
I have installed .dll files for wsscript
Is there any other way to call batch file from aan asp page .
View Replies
View Related
I am getting this error when trying to run an Update query, Microsoft OLE DB Provider for ODBC Drivers error '80040e14' Can anyone explain to me what this means and where I'm going wrong.
View Replies
View Related
I do not understand why. I am running perfectly well asp.net on a virtual directory, but if I put a simple asp file such as this, and named it foo.asp, and try to run it from this virtual directory, I get the 500 error:
<html>
<body>
<%
Response.Write("hello")
%>
</body>
</html>
Any ideas why? I check the Properties of this virtual directory, and under The Virtual Directory tab, Configuration button, App Mappings tab, I can see .asp listed pointing to
C:WINNTSystem32inetsrvasp.dll . If I look at this folder the dll exists.
I'm running windows 2000 professional. But I found the same problem in another computer running Windows 2003 server, IIS 6.0
View Replies
View Related
well i m developing application in asp when i want to access these pages from ie5 it shows error HTTP Error 403 - Forbidden in internet explorer http://localhost/Mail/email.htm .
View Replies
View Related
I thought this is more of an IE issue but i've had no joy on that group
perhaps somebody here will have a clue.
If i click a link to a web page embedded in Excel (97 OR 2000) i get the
standard error page displayed by IE (you know, the 'cannot find server or
dns error' page).
Turning off 'show friendly http error messages' alleviates this.
(Unfortunately this is the Windows default setting!)
Whats going on?!?! Code:
View Replies
View Related
Past few days I see following errors in Event Log after which few ASP scripts stopped working (or part of it's functionality - not very sure which one).
"Error: File /trxweb/trxweb.asp Unexpected error. A trappable error
(E06D7363) occurred in an external object. The script cannot continue
running.."
Source : Active Server Pages
Event ID : 5
Category:None
What could have caused this error ? We are using IIS 6.0. This happens between 3:00 pm and 6:00 pm. User not is on an avg < 40.
View Replies
View Related
I want to develop an program that can let me convert the html to the xml file.
View Replies
View Related