View Complete Thread
  • Re: System.Web in Applicationhost.config not working anymore (IIS8.5)

    Dec 04, 2014 05:30 AM|tempie007|LINK

    Thanks.

    This does indeed solve the problem . Strange that it worked in IIS7 but stopped working in IIS8.

    Command to add it to Webroot .NET 4 and .NET 2

    c:\windows\system32\inetsrv\appcmd.exe set config -section:system.web/httpRuntime -enableVersionHeader:false /commit:webroot /clr:2

    c:\windows\system32\inetsrv\appcmd.exe set config -section:system.web/httpRuntime -enableVersionHeader:false /commit:webroot /clr:4