Asp.Net Core 3.1发布IIS报错 HTTP Error 500.30 - ANCM In-Process Start Failure

这篇博客介绍了当遇到ASP.NET Core 3.1在IIS上启动失败,错误代码500.30时的解决方案。问题源于进程内托管失败,通过切换到进程外托管并调整web.config配置,成功解决了请求转发到Kestrel服务器的问题。
摘要由CSDN通过智能技术生成
HTTP Error 500.30 - ANCM In-Process Start Failure
Common causes of this issue:
The application failed to start
The application started but then stopped
The application started but threw an exception during startup
Troubleshooting steps:
Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect
For more information visit: https://go.microsoft.com/fwlink/?LinkID=2028265

可以按照报错提示查看更改信息 Azure App Service 和 IIS 上的 ASP.NET Core 疑难解答 | Microsoft Docs

其实按照现有的提示可以了解到错误原因,进程内启动失败,改为进程外托管即可。

500.30 进程内启动失败
工作进程失败。 应用不启动。
ASP.NET Core 模块尝试在进程中启动 .NET

  • 0
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值