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

Posted on 2007-10-16
Last Modified: 2008-01-09

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
Question by:tnova1
    1 Comment
    LVL 6

    Accepted Solution

    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.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    New Relic: Our company recently started researching several products to figure out what were the best ways for us to increase our web page speed and to quickly identify performance problems that we may be having. One of the products we evaluated wa…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
    Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now