Elmah not working with asp.net site

后端 未结 7 682
抹茶落季
抹茶落季 2020-11-27 10:02

I\'ve tried to use elmah with my asp.net site but whenever I try to go to http://localhost:port/elmah.axd I get resource not found exception. My web.config is given below.

7条回答
  •  遥遥无期
    2020-11-27 10:46

    The nuget package does not add the following important lines to web.config resulting in 403 error.

    
        
        
        
      
    
    

    Also you may want to restrict the access to error logs by

    
    

提交回复
热议问题