Remove a Handler Mapping (IIS 7)

If you create a handler mapping for a site or an application, and later decide that you do not need the mapping, you can remove it from the list of handler mappings for that site or application.

Important

If you remove a handler mapping, the request type could be served by another handler, which may create a security issue. For example, if you remove a handler mapping for a handler that serves .aspx files, the StaticFile handler will serve the file if there are no other handler mappings that match the request for the .aspx file name extension.