.net core发布到IIS上出现 HTTP Error 500.31 - Failed to load ASP.NET Core runtime

错误提示:

HTTP Error 500.31 - Failed to load ASP.NET Core runtime

Common solutions to this issue:

The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found.

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: Troubleshoot ASP.NET Core on Azure App Service and IIS | Microsoft Learn

 解决方法:

事件查看器>Windows日志>应用程序(Appliction),查看错误日志

排查错误日志发现,缺少了 一个redis的dll库,复制过去就可以了~

(事件查看器打开方法:

1、点击“开始→运行”,输入eventvwr,点击“确定”,就可以打开事件查看器。

2、单击“开始”-“设置”-“控制面板”-“管理工具”-“事件查看器”。

3、win10界面样式,可右键开始菜单-“事件查看器”。)

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值