Custom HttpModule for IIS 7 for integrated

前端 未结 1 1046
日久生厌
日久生厌 2021-02-15 20:40

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

1条回答
  •  余生分开走
    2021-02-15 21:41

    From what I can see you're on the right track. Have you made sure your site's application pool is set to Managed Pipeline mode?

    Also if you're testing this with the built in Visual Studio web server (Cassini) then the section will be ignored. You'll need IIS7 or IIS7.5 Express if you want the module to load from there.

    0 讨论(0)
提交回复
热议问题