Resolve error "Access Denied" when attempting to publish in Visual Studio

Home > Search
  by

Error message Access Denied can appear if the IUSR account does not have Write permission.  Follow these directions to resolve this issue.

  1. At C:\inetpub, right-click on the wwwroot folder, and select Properites.
  2. Click on the Security Tab.
  3. Highlight the IIS_IUSRS account, and click on the Edit button.

Note: You may also need to do this with your Windows user account.

  1. Check-mark the Write permission.
  2. Click Apply, OK.


Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments