What permissions are needed for project folders in VS2010 IIS express?
Are there some special gotchas when accessing a project folder using IIS express in visual studio 2010? I am testing a file upload control and I kee开发者_如何学运维p getting access denied Asp.net errors.
I have the following users with FULL access to my root project folder:
- Authenticated Users
- IUSR
- System
- NETWORK SERVICE
- Administrators (I am a member)
- Users
- IIS_IUSRS (MyComputerName\IIS_IUSRS)
No dice. I can publish my application to my IIS7 (not express) folders and no problem. Is there some trick when working in project folders? Do I need to rebuild my application after changing permission? Restart? I also have windows firewall turned off as well.
Thanks.
Note: Not sure if this is relevant but visual studio is installed on 'C' with (I assume) IIS express running there as well. My project folder is on 'D'. This shouldn't matter but you never know.
Also I tried posting this question at serverfault.com but it's crickets over there.
I figured it out thanks to @Oded on another post he commented on. Although his post was helpful my answer was based on the second answer to that question posted by @Hans Passant. I never had any permission errors, I just forgot to append my file name to the folder destination. His harsh answers was indeed the right medicine.
精彩评论