IIS 7.5 Can't open Handler Mappings?

前端 未结 3 1123
半阙折子戏
半阙折子戏 2021-02-12 23:35

I need to update the handler mappings on IIS 7.5 to allow URLs that don\'t have extensions to be routed to an application. The application was originally written in ASP.NET 2.0,

相关标签:
3条回答
  • 2021-02-12 23:52

    I was having the same issue, it turns out the project used the IIS URL rewrite module (not installed by default). After I installed this, the site worked first time.

    Check your web.config file (especially if it doesn't open in IIS) for any non default IIS modules.

    0 讨论(0)
  • 2021-02-12 23:56

    If you are using IIS7.0 / IIS7.5 : -

    Goto IIS Manager by
    (Start-->Run-->type 'Inetmgr' Or Right click on MyComputer, Select 'Manage' option, Expand 'Services And Applications, select 'Internet Information Manager')

    Right click on the application's virtual directory, choose 'Convert To Application' option.
    This will solve the issue.

    0 讨论(0)
  • 2021-02-13 00:05

    There's a difference in how IIS 7.0 (and higher) reads handler mappings from your Web.config file and how IIS 6 does this. It depends on the 'Managed Pipeline Mode' of your application pool. If you set it to integrated, your handler mappings are expected to be in

    /system.webServer/handlers
    

    If you use classic pipeline mode, your handlers should be in

    /system.web/httpHandlers
    

    You can find some more info here. It's probably the best idea to check what pipeline mode you're using and then check the config file manually (all the IIS management console does is edit the web.config file of you web application, so you can check what's happening behind the scenes).

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