How to use custom Errors page in Windows Authentication

后端 未结 3 1812
眼角桃花
眼角桃花 2020-12-19 13:54

I am using asp.net 3.5 web.config to limit access and it works great.



    

        
3条回答
  •  清酒与你
    2020-12-19 14:43

    Not having tested this in other scenarios, but looking at some of the suggestions from this detailed article for a similar problem.

    The other problem turned out to be:

    the access to the error page was blocked by the authorization requirements.

    The solution was to use a attribute in the web.config. refer to the link for more detailed explanation but here's a snippet:

    
    
        
            
            
            
            
        
    
           
         
            
            
            
            
            
        
    
    
    

提交回复
热议问题