【发布时间】:2021-04-02 22:17:04
【问题描述】:
HTTP 错误 500.30 - ANCM 进程中启动失败
此问题的常见解决方案: •应用程序启动失败 •应用程序启动但随后停止 •应用程序启动但在启动过程中抛出异常
故障排除步骤: • 检查系统事件日志中的错误消息 • 启用记录应用程序进程的标准输出消息 • 将调试器附加到应用程序进程并检查
欲了解更多信息,请访问:https://go.microsoft.com/fwlink/?LinkID=2028265
我正在使用 asp.net core..
我尝试过这样的 webconfig:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="dotnet" arguments=".\xxxxx.WebUI.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess"/>
</system.webServer>
</location>
</configuration>
<!--ProjectGuid: 6b398a99-cb3a-4437-951d-799ba31b5ccb-->
但我无法摆脱 HTTP 错误 500.30 有谁知道我该怎么做?
【问题讨论】:
-
您应该检查 Windows 事件日志中的实际错误消息,但报告也可以揭示常见原因,docs.jexusmanager.com/tutorials/ancm-diagnostics.html