iisasp.net-core-mvc

MVC 6 Hosted on IIS HTTP Error 500.19


Am getting HTTP Error 500.19 when accessing MVC 6 app in IIS on Windows 10.

In IIS I have set the App pool to 'No Managed Code'

The app is hosted in the root of a new Web Site.

I published the app using Visual Studio 2015 with the following settings.

Configuration : Debug Target DNX Version: dnx-clr-win-x64.1.0.0-rc1-update1

The web.config is the boilerplate provided by Visual Studio

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.webServer>
    <handlers>
      <add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified"/>
    </handlers>
    <httpPlatform processPath="%DNX_PATH%" arguments="%DNX_ARGS%" stdoutLogEnabled="false" startupTimeLimit="3600"/>
  </system.webServer>
</configuration>

Any ideas what is going wrong?

Thanks

Mike


Solution

  • Figured it out, I needed to install the httpplatformhandler http://www.iis.net/downloads/microsoft/httpplatformhandler