Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > File Write Access Denied with ASP .NET on Domain Controler

Reply
Thread Tools

File Write Access Denied with ASP .NET on Domain Controler

 
 
Seb
Guest
Posts: n/a
 
      04-20-2005
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.
 
Reply With Quote
 
 
 
 
swat
Guest
Posts: n/a
 
      04-20-2005
If the website is being accessed by domain users, you could try
removing Anonymous in IIS and setting authentication to Windows
Integrated. Then add <authentication mode="Windows"> and <identity
impersonation="true"/> in the application's web.config file.

 
Reply With Quote
 
 
 
 
Seb
Guest
Posts: n/a
 
      04-20-2005
Well the web site is not accessed by domain users but by Anonymous
users s oI can't remove Anonymous access in IIS.

Any other suggestion ?

Thanks for your help.

"swat" <> wrote in message news:< roups.com>...
> If the website is being accessed by domain users, you could try
> removing Anonymous in IIS and setting authentication to Windows
> Integrated. Then add <authentication mode="Windows"> and <identity
> impersonation="true"/> in the application's web.config file.

 
Reply With Quote
 
swat
Guest
Posts: n/a
 
      04-20-2005
I took a look at the article you referred to. The only thing I can
think of is that they forgot to include performing an IISRESET after
changing the machine.config file. But I'm assuming you did this?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Protocol Transition and Constrained Delegation to access a domain controler via LDAP Olivier Matrot ASP .Net Security 2 03-15-2007 02:12 PM
File Write Access Denied with ASP .NET on Domain Controler Seb ASP .Net 2 04-21-2005 12:29 PM
Problem with ASPNET after uninstalling domain controler Olof ASP .Net 3 03-05-2004 01:09 AM



Advertisments