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

前端 未结 15 1790
南方客
南方客 2020-12-30 01:20

I have an asp.net 4.0 application that works fine running under cassini but when i deploy to IIS i get the above error. It is running under the Default App pool which a numb

15条回答
  •  [愿得一人]
    2020-12-30 01:57

    If you are using Windows Authentication, it could be your authorization settings. Open web.config file:

      
        
        
        
            
          
        
    

    Make sure you have assigned the correct roles. If you need to include all users, use:

    
    

提交回复
热议问题