Elmah not working with asp.net site

后端 未结 7 699
抹茶落季
抹茶落季 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:54

    This line was missing when I installed using NuGet (VS 2013, IIS 8.0):

    
      
        
     
    
    

    Adding it solved the 404 error problem.

提交回复
热议问题