I have built and published an ASP.NET 5 MVC 6 Web App via VS2015 and Published it to IIS 8.5 on a Windows Server 2012 64-bit machine. I had previously published a very simple ASP.NET 5 MVC 6 App (albeit with no EF code) which works fine in IIS and to my mind has proved the IIS config side of things for .NET. To do all of this I followed the really helpful guide that is: http://docs.asp.net/en/latest/publishing/iis.html. When I try to browse to the published App I get an HTTP 500:
Has anyone got any clue on what might be happening and what steps I could take to resolve this error please?