473,503 Members | 9,903 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

File Write Access Denied with ASP .NET on Domain Controler

Seb
Hi All,

I have a web page that tries to write in a xml file but I have an
Access Denied error on the xml file.

The page is working properly on the development computer but not on
test environment.

On the test environment the Web sServer is also PDC so there is no
ASPNET account on this computer.
- I have created a weak account with appropriate permissions
(following "ASP.NET does not work with the default ASPNET account on a
domain controller" article from Microsoft Support)
- I have changed the <ProcessModel> entry in the Machine.config to use
my account.
- I granted the new account Read - Write - Modify permissions on the
xml file.
- The web site is running in Anonymous mode (using IUSR_MACHINE
account).

But still my web page cannot modify the xml file.

Any help will be appreciated.

Sébastien.
Nov 19 '05 #1
2 1649
Hi Seb,

I'm a little confused. Are you saying that the ASP.Net application is
residing on the same machine as the XML file?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Seb" <se******@hotmail.com> wrote in message
news:93*************************@posting.google.co m...
Hi All,

I have a web page that tries to write in a xml file but I have an
Access Denied error on the xml file.

The page is working properly on the development computer but not on
test environment.

On the test environment the Web sServer is also PDC so there is no
ASPNET account on this computer.
- I have created a weak account with appropriate permissions
(following "ASP.NET does not work with the default ASPNET account on a
domain controller" article from Microsoft Support)
- I have changed the <ProcessModel> entry in the Machine.config to use
my account.
- I granted the new account Read - Write - Modify permissions on the
xml file.
- The web site is running in Anonymous mode (using IUSR_MACHINE
account).

But still my web page cannot modify the xml file.

Any help will be appreciated.

Sébastien.

Nov 19 '05 #2
Seb
Hi Kevin,

Yes the xml file and the ASP .NET Application are residing on the same machine.

Any suggestion ?

Kind Regards,
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message news:<OA**************@TK2MSFTNGP12.phx.gbl>...
Hi Seb,

I'm a little confused. Are you saying that the ASP.Net application is
residing on the same machine as the XML file?

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
What You Seek Is What You Get.

"Seb" <se******@hotmail.com> wrote in message
news:93*************************@posting.google.co m...
Hi All,

I have a web page that tries to write in a xml file but I have an
Access Denied error on the xml file.

The page is working properly on the development computer but not on
test environment.

On the test environment the Web sServer is also PDC so there is no
ASPNET account on this computer.
- I have created a weak account with appropriate permissions
(following "ASP.NET does not work with the default ASPNET account on a
domain controller" article from Microsoft Support)
- I have changed the <ProcessModel> entry in the Machine.config to use
my account.
- I granted the new account Read - Write - Modify permissions on the
xml file.
- The web site is running in Anonymous mode (using IUSR_MACHINE
account).

But still my web page cannot modify the xml file.

Any help will be appreciated.

Sébastien.

Nov 19 '05 #3

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

Similar topics

2
4043
by: Loopy | last post by:
I'm trying to write a script that will connect to an external site so that I can get access referer information in a database on another one of my sites. I got errors, so I tried to write a script...
4
4675
by: Rene' Nielsen | last post by:
Context: Running Windows 2003 Server on an intranet. A web is configured with an anonymous access account that is a domain account that has been granted the desired access to a file on another...
2
3390
by: Rocket Hawk | last post by:
Hello All, 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...
6
609
by: Kevin Ingram | last post by:
Ok, this is probably a silly question but I just keep hitting a brick wall here. I usually develop my sites entirely in ASP and use a database for data storage, works great for me. I also...
3
15970
by: Divya | last post by:
Hello, I am trying to copy a file from one domain to another. I have the username and password of the destination domain. I tried a few approaches - 1. Using the Impersonator Class -...
2
3751
by: Stephen Witter | last post by:
I had previously posted this on the security ng, but haven't had a hit so I was wondering if someone here would be willing to take a stab. I am trying to copy a file to a network drive. I can do...
2
2361
by: reycon | last post by:
I have a problem that has been doggin me for 2 days now. I have a web app that needs to access files on another server in the same domain. but nothing that I have tried has allowed the web app...
3
4032
by: Shailesh Gajare | last post by:
Hi All, I have creating an ASP.Net application with two web servers. I am uploading a file which is being uploaded on one of the server, I want to copy the uploaded file on the other server at the...
1
8102
by: Duffman | last post by:
Hi, I have what seems to be a common problem, but the solutions I've found don't seem to work. I would like to use a web service to create a file at a UNC location in a shared file. Currently...
0
7095
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...
0
7294
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7361
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...
0
7470
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...
1
5026
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...
0
3183
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1523
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
403
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.