locked
Server Error in '/' Application. Access is denied. RRS feed

  • Question

  • User-1276203258 posted

    Access is denied.

    Description: An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL.

    Error message 401.2.: Unauthorized: Logon failed due to server configuration.  Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server.  Contact the Web server's administrator for additional assistance.

    Hi Guru.   I facing above issue , while migration code from VS 2005 to VS 2019 .... dats too Vb.net could you suggest me 

    Thank advanced

    Wednesday, December 4, 2019 3:23 PM

All replies

  • User61956409 posted

    Hi Angadi,

    Error message 401.2.: Unauthorized: Logon failed due to server configuration.  

    To understand and troubleshoot the issue better, I'd like to confirm these information with you: 

    • Have you enabled/configured authentication for your application?
    • Where do you host your application, on IIS express or IIS?
    • If possible, can you share your web.config? And please remove/hide account, password etc sensitive data.

    With Regards,

    Fei Han

    Thursday, December 5, 2019 1:50 AM
  • User-1780421697 posted

    As it implies it is security related permission error , if you are running VS 2019 in non-admin mode then you should have to open it in Administrator mode. then try it, that might be helpful.

    Thursday, December 5, 2019 3:15 AM