MVC 6托管在IIS HTTP错误500.19上 [英] MVC 6 Hosted on IIS HTTP Error 500.19

查看:367
本文介绍了MVC 6托管在IIS HTTP错误500.19上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

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

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

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

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

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

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

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

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

web.config是Visual Studio提供的样板文件

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?

谢谢

迈克

推荐答案

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

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

这篇关于MVC 6托管在IIS HTTP错误500.19上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆