Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi sir,
Tell me the permission to set for the hosted folder in IIS 8. I am getting the below error while i host the application in IIS Server. I am using windows server 2012 web server with IIS 8. Kindly give me the solution for these problem.

C#
Server Error in '/MyService' Application.
--------------------------------------------------------------------------------

Access is denied. 
  Description: An error occurred while accessing the resources required to serve this request. You might not have permission to view the requested resources. 

 Error message 401.3: You do not have permission to view this directory or page using the credentials you supplied (access denied due to Access Control Lists). Ask the Web server's administrator to give you access to 'C:\HostedApp\MyAndroidService'.

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18045
Posted
v2

1 solution

Hi,

Right click on your web folder in iis.
1. Click on Edit Permission.
2. Go to security tab. Check in Group or username section. Find "IIS_IUSERS". Give Full control rights to it.
3. If "IIS_IUSERS" is not in Group or username section, then click on edit button, it will open popup with permission detail. Click Add button it will open pupup. Write "IIS_IUSERS" in Enter the object name to select textarea. Then click ok. Then give full control rights to it.


This will solve your problem.

Thanks.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900