I tried to upload my web site to a server. It was working fine with my local host, so I uploaded everything in my localhost wwwroot folder to the server and cha
For me Microsoft.Web.Infrastructure.dll was missing from the bin folder, it wasn't set to copy local in the project.
Copied the dll from another project in the solution and the page loads.