« Previous Next »

Answered Thread: IIS7 Access Denied Problem

Last post 10-27-2009 5:56 AM by Leo Tang - MSFT. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 10-24-2009, 7:19 AM

    IIS7 Access Denied Problem

    I am using Windows Vista Home Premium(32 bit) Service Pack 1 that comes with my brand new HP laptop. I am a newbie in IIS7. I was trying to install a simple asp.net web application in my IIS7 by creating a new website under website node. I have done everything right. After all i have a long experience with previous versions of IIS. But this time I faced a weird problem. After installing the web site, while trying to browse it, i was getting a very common error which i shouldn't have got. Can not write to output file.......bla bla bla...Access Denied. This tells to all old folks like us that there is something wrong with the permission. So the first instinct will be to Add NETWORK SERVICE to ASPNET Temporary folder and grant it full control. Which I did! Then what went wrong? After spending hours finding no clue, I have decided to compromise. I have set my application pool identity to LocalSystem. Restart the system and the error goes away. I got my nice little website up and running. Can anybody tell me what is the thing happening here?
  • 10-24-2009, 11:11 AM In reply to

    Re: IIS7 Access Denied Problem

     Not from that description, but it sure looks loike your app pool identity didn't have permission to the resource it was looking for.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 10-25-2009, 6:38 AM In reply to

    Re: IIS7 Access Denied Problem

    it said something like it couldn't write ....something AppGlobalResource.dll......but isn't it weird that my app pool identity was Network Service and I have granted full permission to ASP.NET Temporary Folder? So normally every resource under that folder should have the permission level inherited from the parent.
  • 10-27-2009, 5:56 AM In reply to

    Answered Re: IIS7 Access Denied Problem

    Hi,

    Could you post the full error messages here?

    Also, you can run Process Monitor for further troubleshooting. Open Process Monitor and isolate the work process w3wp.exe, then reproduce this issue. The failed events can help use address the root cause.

    You can get Process monitor from here:
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (4 items)
Microsoft Communities