简体   繁体   中英

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 keep getting access denied Asp.net errors.

I have the following users with FULL access to my root project folder:

  1. Authenticated Users
  2. IUSR
  3. System
  4. NETWORK SERVICE
  5. Administrators (I am a member)
  6. Users
  7. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM