ASP.NET MVC on IIS 7.5 – Error 403.14 Forbidden

ASP.NET 4 was not registered in IIS. Had to run the following command in the command line/run 32bit (x86) Windows %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir 64bit (x64) Windows %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir Note from David Murdoch’s comment: That the .net version has changed since this Answer was posted. Check which version of the framework is in the %windir%\Microsoft.NET\Framework64 directory and … Read more

Windows Authentication for ASP.NET MVC 4 – how it works, how to test it

For IIS 8.5 and MVC 4: How does Windows Authentication work? In this mode, User.Identity (as in HttpContext.Current.User.Identity) is populated by the underlying web server. This might be IIS Express in the link from @R Kumar demonstrated, or full blown IIS as in the video by @Thomas Benz. Specifically, User.Identity is a WindowsIdentity object. E.g. … Read more

IIS Server & ASP.Net Core – 500.19 with error code 0x8007000d on httpplatformhandler tag

I was getting this error. I fixed this error by installing the .NET Core Windows Server Hosting bundle (vs the Runtime Bundle), as described in instructions like this one. Install the .NET Core Hosting Bundle Install the .NET Core Hosting Bundle on the hosting system. The bundle installs the .NET Core Runtime, .NET Core Library, … Read more

Web Application Problems (web.config errors) HTTP 500.19 with IIS7.5 and ASP.NET v2

I had these exact symptoms and my issue was similar to Peter’s. Was setting up an existing project on a new server. My project referenced the IIS7 URL Rewriting module, but that hadn’t been installed yet on the new server. Installing it fixed my issue. You can use the Microsoft Web Platform Installer to install … Read more

The client and server cannot communicate, because they do not possess a common algorithm – ASP.NET C# IIS TLS 1.0 / 1.1 / 1.2 – Win32Exception

There are several other posts about this now and they all point to enabling TLS 1.2. Anything less is unsafe. You can do this in .NET 3.5 with a patch. You can do this in .NET 4.0 and 4.5 with a single line of code ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; // .NET 4.5 ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072; // … Read more