Internal Server Error with web.config ipSecurity

前端 未结 7 1930
星月不相逢
星月不相逢 2020-12-17 14:55

This is my web.config which has some tags for blocking Ipaddress


 
    ...
 
 

        
7条回答
  •  北海茫月
    2020-12-17 15:03

    For others that run into this issue. The cause of the issue is that Feature Delegation doesn't allow the feature to be managed by web.config.

    To Fix:

    Verify that the Feature is enabled for web.config management

    • In IIS 7, click on the root server
    • Double click Feature Delegation (under management)
    • Scroll down to IPv4 Address and Domain Restrictions
      • Change the delegation to Read/Write (in my case it was Read Only, which was the issue)

    Hope this helps someone else.

提交回复
热议问题