How to enable windows authentication on iis 8 on a Win2k12 machine using cmd ? I am running and MVC website on a server and not able to access it from the client with Error : 500 Internal Server error
Read this article but it doesn't work on Win2k12 machine http://technet.microsoft.com/en-us/library/cc754628(v=WS.10).aspx
For IIS8, you need to specify the website's name within the command, for example:
appcmd set config "Default Web Site" /section:windowsAuthentication /enabled:true
Source: Appcmd.exe (IIS 8) reference.