弘帝企业智能建站系统交流平台

 找回密码
 立即注册
查看: 1105|回复: 0

HTTP Error 500.30 - ASP.NET Core app failed to start

[复制链接]
发表于 2024-1-5 14:33:21 | 显示全部楼层 |阅读模式
HTTP Error 500.30 - ASP.NET Core app failed to start
Common solutions to this issue:
The app failed to start
The app started but then stopped
The app 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 guidance on diagnosing and handling these errors, visit Troubleshoot ASP.NET Core on Azure App Service and IIS.

出错的原因:在于VS Studio中开发时使用的是IIS Express,当发布后,一般为IIS。
所以存在一些问题:
1、NET8的SDK是否安装,版本确保一致。
2、NET8的HOSTING工具是否正确安装,确保版本一致。
3、Web.config的设置修改,如下:
找到hostingModel="inprocess",改成hostingModel="OutOfProcess"
此故障在Hondy.Chat发布至服务器发生并解决。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|弘帝企业智能建站系统 ( 皖ICP备07503252号 )

GMT+8, 2024-11-24 00:06 , Processed in 0.064137 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表