【发布时间】:2016-02-11 22:17:06
【问题描述】:
在 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>
有什么想法吗?
谢谢
迈克
【问题讨论】:
-
检查ETW是否有错误。
-
ETW 是什么意思?
-
Windows 事件跟踪。开始->运行->eventvwr 并检查应用程序日志。
-
谢谢,我以为这就是你的意思,以前没有听说过它被称为 ETW。
-
应用程序日志中没有错误,
标签: iis asp.net-core-mvc