• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 660
  • Last Modified:

How to give read and write access to IUSR_machine name accout to a xml file.

Hello,

In my web application, I need to be able to record errors into a log file, so I need to give read and write access to a xml format file.

I gave the IUSR_machine name account with even full control to the directory that the file will be written on, it didnot work. Also I gave ASPNET account same access rights and it can not open the file for reading.

 I have to give read/write access to the Machine name\Domain users.  It worked fine.

How do I make it work? was this a good way to gain access to anonymous users.  My intranet allowed anonyous access and the user is IUSR_machine name.

Thanks in advance,
Diane Ha
0
tnova1
Asked:
tnova1
1 Solution
 
ajarveyCommented:
Assign the IIS_WPG group the same rights. That group contains what is required for .NET apps to properly create/modify files on the back end of your website.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now