473,320 Members | 1,946 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.

error execute bat file from asp

Hello all,
i need to run XXXX.BAT file from ASP page use windows 2000 server

the XXXX.BAT file run as:
used exist maped drive to shared folder on ServerB and copy files to ServerA

On ServerA in the IIS site i set domain account for Anonymous Access
Authentication
and set for script and execute permission
i also added the site domain account to Administrators group

on ServerB i created the exact user+password as ServerA site domain account
and gave it the full sharing permission and full security permission

when i run the batch file Localy it's working good !

but when i run it from the ASP Page i am getting Access Denied error?

Can someone tell me what's wrong? or point to such document,,

Thanks in advance,

Tony H.


Jul 19 '05 #1
4 1679
> i also added the site domain account to Administrators group

What is the "site domain account"?
on ServerB i created the exact user+password as ServerA site domain

account

Again, what user is this? Are you sure you disabled password
synchronization and have the exact same password on both servers?

See http://www.aspfaq.com/2168

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #2
Did the replies from your original post not help at all?

Ray at home

"Rocket Hawk" <ro****@msn.com> wrote in message
news:ek**************@TK2MSFTNGP09.phx.gbl...
Hello all,
i need to run XXXX.BAT file from ASP page use windows 2000 server

the XXXX.BAT file run as:
used exist maped drive to shared folder on ServerB and copy files to ServerA
On ServerA in the IIS site i set domain account for Anonymous Access
Authentication
and set for script and execute permission
i also added the site domain account to Administrators group

on ServerB i created the exact user+password as ServerA site domain account and gave it the full sharing permission and full security permission

when i run the batch file Localy it's working good !

but when i run it from the ASP Page i am getting Access Denied error?

Can someone tell me what's wrong? or point to such document,,

Thanks in advance,

Tony H.

Jul 19 '05 #3
On serverA,
under computer management / Local user
I created new user name (test) and set it password then I added the test
user to the local Administrators group

on ServerB
under computer management / Local user
I created new user name (test) and set it password then I added the test
user to the local Administrators group

inside IIS on ServerA I unchecked the Allow IIS to control password
so yes I think I remove the disabled password synchronization and sign the
same exact password for test user

the only think I can see different in the it's the full Computers user name
as:

Server\user

mon1\test
mon-rake\test

Thanks
Tony

"Aaron Bertrand [MVP]" <aa***@TRASHaspfaq.com> wrote in message
news:Ot**************@TK2MSFTNGP10.phx.gbl...
i also added the site domain account to Administrators group


What is the "site domain account"?
on ServerB i created the exact user+password as ServerA site domain

account

Again, what user is this? Are you sure you disabled password
synchronization and have the exact same password on both servers?

See http://www.aspfaq.com/2168

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/

Jul 19 '05 #4
Ray,

I have tried all the suggest replies, still NOT RUNNING

any other solutions?

Thanks in advance,
Tony H.

"Ray at <%=sLocation%>" <myFirstNameATlane34dotKOMM> wrote in message
news:em**************@TK2MSFTNGP10.phx.gbl...
Did the replies from your original post not help at all?

Ray at home

"Rocket Hawk" <ro****@msn.com> wrote in message
news:ek**************@TK2MSFTNGP09.phx.gbl...
Hello all,
i need to run XXXX.BAT file from ASP page use windows 2000 server

the XXXX.BAT file run as:
used exist maped drive to shared folder on ServerB and copy files to

ServerA

On ServerA in the IIS site i set domain account for Anonymous Access
Authentication
and set for script and execute permission
i also added the site domain account to Administrators group

on ServerB i created the exact user+password as ServerA site domain

account
and gave it the full sharing permission and full security permission

when i run the batch file Localy it's working good !

but when i run it from the ASP Page i am getting Access Denied error?

Can someone tell me what's wrong? or point to such document,,

Thanks in advance,

Tony H.


Jul 19 '05 #5

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

Similar topics

3
by: Paul M | last post by:
I encountered the following error when trying to perform a SQL UPDATE to a MySQL database table from Python. I would apprciate any assistance. In the Python code I have tried integer and decimal...
4
by: Chris | last post by:
I posted this in the C# language group, then thought it might be more appropriate in this group. I would not cross-post except I want the answer so badly. I built small C# Web and Web Service...
0
by: Mamatha | last post by:
Hi i hava wrote the code to restore a file of SQL server database through ASP.It can access the backup file on server and restored but some times or in some systems it gives error like permission...
23
by: deathtospam | last post by:
A day or two ago, I wrote a quick ASPX page with a CS codebehind using Visual Studio .NET 2005 -- it worked, I saved it and closed the project. Today, I came back to the project, reopened the...
6
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
I'm running VS 2003/ASP.NET 1.1.4322.0 on XP SP2 All of a sudden I started to getting... "Error while trying to run project: Unable to start debugging on the web server. Server side-error...
12
by: jonatan | last post by:
Hello All, I am making a program and need the grt_main.c but i try to compile have the error c1004.Please help me how to solve it? Thank you. --------------------Configuration: pre - Win32...
0
by: RaviRajhulk | last post by:
I am trying to execute a batch file from a perl code and its executing fine with the folowing code Code: ( text ) `C:\temp\sample.bat` ,but another problem is occuring.....when there is some...
4
by: pizzetta72 | last post by:
Hi all, i just finish to install cygwin on windows XP adding also gcc compiler module. After I tried to execute a file called fstsg.0.3-sparc (www.fstha.com) used to cript a Unix shell, I receive...
3
by: Blubaugh, David A. | last post by:
To All, I have been attempting to execute the following program within the Python environment: Myprogram.exe, which means this is an executable file!! I would usually execute this...
0
by: Terry Reedy | last post by:
Blubaugh, David A. wrote: Because you execute it in the necessary directory. This does not execute it in the proper directory. os.getcwd() will tell you where you are -- mostly likely...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
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...
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...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.