Custom HttpModule for IIS 7 for integrated

前端 未结 3 1715
猫巷女王i
猫巷女王i 2021-02-15 20:41

I\'m having troubles with a custom Error handler I built. It should be a HttpModule, but when I add it to my web.config\'s system.webServer/modul

3条回答
  •  -上瘾入骨i
    2021-02-15 21:17

    I had this problem and discovered that not turning off customErrors prevented the handler from triggering.

    ie: this is required in your config for the Error event to be captured in the HttpModule:

    
        
    
    

提交回复
热议问题