URL Mapping works on localhost but not on production server in asp.net

后端 未结 2 1629
隐瞒了意图╮
隐瞒了意图╮ 2021-01-21 06:16

I have certain values that are mapped in web.config file for URL Mapping. When i browse for file it works on localhost. But,

相关标签:
2条回答
  • 2021-01-21 06:51

    See this: http://forums.asp.net/t/1523272.aspx?urlmappings+stopped+when+moved+to+ii7

    Url mappings should not be supported in IIS 7 - you should use Url Rewrite module

    0 讨论(0)
  • 2021-01-21 07:00

    To do this just follow steps:

    For IIS 7: open IIS manager , double click on the website , double click Handler Mappings , right click on the specific handler , click Request Restrictions and uncheck the checkbox Invoke handler only if request is mapped to.

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