HttpHandler not working in IIS 7

后端 未结 2 1572
梦如初夏
梦如初夏 2021-01-02 01:05

I have an HttpHandler configured in my web.config file like so:



        
相关标签:
2条回答
  • 2021-01-02 01:25

    We have a legacy application where changing the webconfig to user system.webServer -> handlers was not an option. We solved this 404 issue by setting the application pool's "Managed Pipeline Mode" to "Classic" on our development machines.

    Here is the blog post where I found this solution http://codeskaters.blogspot.ae/2014/04/httphandler-error-404-not-found.html

    0 讨论(0)
  • 2021-01-02 01:46

    Registration of HttpHandlers is different for IIS7 than for previous versions of IIS. Specifically, you register the handlers in the web.config section named <system.webServer><handlers> not in <httpHandlers>.

    See this question for an example.

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