MVC 6 Hosted on IIS HTTP Error 500.19

前端 未结 3 1635
一向
一向 2020-12-09 18:04

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 ro

相关标签:
3条回答
  • 2020-12-09 18:39

    For RC2 and above, HttpPlatformHandler has been replaced by ASP.NET Core Module

    Install the new module from here.

    The announcement can be found here.

    0 讨论(0)
  • 2020-12-09 18:54

    You have to install the "Hosting Bundle Installer". Without this, IIS doesn't understand routing and cannot host your application.

    Go to microsoft site "https://www.microsoft.com/net/download/dotnet-core/runtime-2.1.0-rc1" and install "Hosting Bundle Installer":

    Before installing this you have to install the right version of runtime: https://www.microsoft.com/net/download/dotnet-core/runtime-2.1.0-rc1 Than install the right version of "Hosting Bundle Installer".

    "Hosting Bundle Installer" is: .NET Core Windows Server Hosting bundle installs the .NET Core Runtime, .NET Core Library, and the ASP.NET Core Module. The module creates a reverse proxy between IIS and the Kestrel server on Windows platforms.

    0 讨论(0)
  • 2020-12-09 18:58

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

    0 讨论(0)
提交回复
热议问题