Problem mapping HttpHandler --> HTTP Error 404 Not Found

前端 未结 7 1760
误落风尘
误落风尘 2020-12-29 02:14

I am having problems trying to map an HttpHandler in the web.config.

This is the relevant config bit:


  

        
相关标签:
7条回答
  • 2020-12-29 03:11

    Are you using IIS7, if so is the application pool running in classic or pipelined mode? If it is IIS7 in pipelined mode then the handler reference needs to go into the following section

    <system.webServer>
        <handlers>
        </handlers>
    <system.webServer>
    

    rather than in the following section.

    <system.web>
        <httpHandlers>
        </httpHandlers>
    </system.web>
    
    0 讨论(0)
提交回复
热议问题