locked
Configure IIS on windows 7 RRS feed

All replies

  • User1120430333 posted

    You can always post to the IIS forums.

    https://forums.iis.net/

    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>
    <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
    </div>
    </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.

    https://forums.iis.net/t/1148826.aspx?HTTP+Error+401+3+Unauthorized+Access+is+denied+due+to+an+ACL+set+on+the+requested+resource+

    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.

    https://support.microsoft.com/en-us/help/942042/error-message-when-you-try-to-browse-a-web-page-that-is-hosted-on-a-se

    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