Asked by:
Configure IIS on windows 7

Question
-
User-1499457942 posted
Hi
I have followed the below link but still not got working . It is .net Project
https://www.codeproject.com/Tips/365704/Install-IIS-on-Windows
Thanks
Tuesday, June 19, 2018 4:56 PM
All replies
-
Wednesday, June 20, 2018 3:39 AM
-
User-1499457942 posted
Hi
Now i got working but i am getting below error now . In web.config below is the setting
<authentication mode="Forms">
<forms name="abc" loginUrl="Login.aspx"/>
</authentication>HTTP Error 401.3 - Unauthorized
You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.
<fieldset></fieldset><fieldset>
<legend>Detailed Error Information</legend>
<div id="details-left">Module IIS Web Core Notification AuthenticateRequest Handler StaticFile Error Code 0x80070005
<div id="details-right">Requested URL http://localhost:8888/ Physical Path C:\Users\Arun\Documents\Visual Studio 2012\Projects\Test Logon Method Anonymous Logon User Anonymous
</fieldset></div>
Wednesday, June 20, 2018 3:45 AM -
User1120430333 posted
It usually means that the Web site on IIS has not been setup for directory browsing.
Wednesday, June 20, 2018 5:58 AM -
User-330142929 posted
Hi JagjitSingh,
From your description and error,
<authentication mode="Forms">
<forms name="abc" loginUrl="Login.aspx"/>
</authentication>You want the form authentication mode to allow unauthorized users to automatically redirect to login.aspx. In my opinion, we should ensure the anonymous authentication provider is enabled. First locate the directory first, and then set EVERYONE account or IUSR account permission open.
Besides, according to your screenshot, I suggest you could check the configuration of the website default page.
Requested URL http://localhost:8888/ Physical Path C:\Users\Arun\Documents\Visual Studio 2012\Projects\Test Logon Method Anonymous Logon User Anonymous At last, if you want to access the static file, and have no authorization of Reading, it may cause the problem you encountered.
Pease refer to the following link to solve your problem.
Here are some relevant links, wish it is useful to you.
https://stackoverflow.com/questions/19162553/iis-401-3-unauthorized
If the solution could not solve your problem, please feel free to let me know.
Best Regards,
Abraham
Wednesday, June 20, 2018 8:47 AM