问题一:
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
原因
故障原因: 本机发布时的.netcore版本和服务端.netcore版本不一致
解决方法: 修改发布的.netcore版本
或者同步服务器的环境?Download .NET 5.0 (Linux, macOS, and Windows)
?
问题二:
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
?于是我检查了 事件查看器>Windows日志>Appliction>?第一次查看错了?错误日志? 查看的是如下日志,我以为是CLR?的问题,折腾了一通发现并没有解决问题。
?redis 没有启动 丢。。。
然后最重要的是浏览器 全部关闭 有点坑呀? 好像占用端口了
|