Internal Server Error with web.config ipSecurity

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

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


 
    ...
 
 

        
7条回答
  •  醉梦人生
    2020-12-17 15:01

    Hopefully this will help someone...

    I am running IIS express on Windows 7 locally and did the following - Control panel > Programs > Programs and features > Turn Windows features on or off

    In the Windows Features dialog ensure the IP Security option is checked:

    enter image description here

    I also had to open up my applicationhost.config (under %userprofile%\Documents\IISExpress\config) file and change the following:

    To

提交回复
热议问题