Example of Configuration for

后端 未结 2 1663
不知归路
不知归路 2020-12-18 06:42

I have a Web Application in Asp.Net 4 running locally on IIS 7. I need display a Custom Page (404) and an 500 instead for the defaults page for IIS. Using this httpErrors in

2条回答
  •  猫巷女王i
    2020-12-18 07:24

    I solved my problem with this.

    
        
        
        
        
      
    

    This needs to go in Web.config, under >

    e.g.

    
        
            
                // define errors in here ...
            
        
    
    

提交回复
热议问题