.NET核心部署到Linux CentOS 7错误:无法创建Coreclr,Hresult:0x8007000E

发布于 2025-01-29 15:22:06 字数 490 浏览 4 评论 0原文

我正在尝试将.NET Core 3.1应用程序部署到Linux Server X64,当我在PC上测试已部署的应用程序时,它运行良好,但是当我将其部署到服务器时,它给出了此错误,
您可以看到下面的错误和网络信息,
我尝试了以下解决方案:
我将应用程序升级到版本5和6,
我创建了一个简单的Hello World App .Net Core 5并部署它,
我安装了另一个版本的.NET SDK和Runtime
请有人可以帮忙,您认为问题是来自.NET还是Linux?
我没有尝试过什么?
错误代码
dotnet info

I am trying to deploy my .net core 3.1 app to Linux server X64, when I test the deployed app on my pc it is working fine, but when I deploy it to the server it gives this error,
you can see the error and the net info below,
I tried the following solutions:
I upgraded the app to versions 5 and 6,
I created a simple hello world app .net core 5 and deploy it,
I installed another version of .net SDK and runtime
please can someone help with this, do you think the problem is from .net or Linux?
and what could be an option that I haven't tried?
error code
dotnet info

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文