在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>
任何想法出了什么问题?
谢谢
麦克风
弄清楚了,我需要安装httpplatformhandler http://www.iis.net/downloads/microsoft/httpplatformhandler
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句