MVC 6托管在IIS HTTP错误500.19上

Mik*_*e U 13 iis asp.net-core-mvc

在Windows 10上访问IIS中的MVC 6应用程序时收到HTTP错误500.19.

在IIS中,我将应用程序池设置为"无托管代码"

该应用程序托管在新网站的根目录中.

我使用Visual Studio 2015使用以下设置发布了应用程序.

配置:调试目标DNX版本:dnx-clr-win-x64.1.0.0-rc1-update1

web.config是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>
Run Code Online (Sandbox Code Playgroud)

出了什么问题?

谢谢

麦克风

vef*_*fve 18

对于RC2及以上,HttpPlatformHandler已被替换为ASP.NET Core Module

这里安装新模块.

公告可以在这里找到.


Mik*_*e U 6

想出来,我需要安装httpplatformhandler http://www.iis.net/downloads/microsoft/httpplatformhandler