Cstom handler on IIS 7.5 doesn't work

Posted by Amit on Stack Overflow See other posts from Stack Overflow or by Amit
Published on 2010-05-04T04:22:54Z Indexed on 2010/05/04 4:28 UTC
Read the original article Hit count: 405

Filed under:

Hi, I am new to IIS 7.5. I have an application in asp.net 2.0, which has its own custom URL rewriting mechanism. All the requests on the browser with .htm will be mapped to .aspx. It works fine on IIS 6, but somehow I could not get it working on IIS 7.5. On IIS 6, I go to Application Properties>Configuration>Mappings and add a new extension .htm with the executable as aspnet_isapi.dll

On IIS 7.5 i added a handler mapping, with path as .htm and executable as aspnet_ispai.dll

But the request does not even come to global.asax. If i try the URL with .aspx extension, pages load properly. Any idea how to set up custom mappings in iis 7.5?

© Stack Overflow or respective owner

Related posts about iis-7.5