为什么红隼服务无法启动?



我在Apache服务器上发布了一个通过NET CORE托管的Blazor应用程序,为NET CORE部分定义了一个虚拟主机(反向代理(和一个kestrel服务,但服务器不会启动。

错误:(这只是信息的一小部分,但大约有100行是这样的(。此外,c3ab8ff13720e8ad9047dd39466b3c897似乎是它应该绑定到的dll的占位符。

Aug 29 16:25:09 e4334f0186.servercheap.net dotnet-mycoreapp[13264]: A fatal error was encountered. This executable was not bound to load a managed DLL.
Aug 29 16:25:09 e4334f0186.servercheap.net dotnet-mycoreapp[13264]: This executable is not bound to a managed DLL to execute. The binding value is: 'c3ab8ff13720e8ad9047dd39466b3c897
Aug 29 16:24:59 e4334f0186.servercheap.net dotnet-mycoreapp[13261]: A fatal error was encountered. This executable was not bound to load a managed DLL.
Aug 29 16:24:59 e4334f0186.servercheap.net dotnet-mycoreapp[13261]: This executable is not bound to a managed DLL to execute. The binding value is: 'c3ab8ff13720e8ad9047dd39466b3c897
Aug 29 16:24:49 e4334f0186.servercheap.net dotnet-mycoreapp[13256]: A fatal error was encountered. This executable was not bound to load a managed DLL.
Aug 29 16:24:49 e4334f0186.servercheap.net dotnet-mycoreapp[13256]: This executable is not bound to a managed DLL to execute. The binding value is: 'c3ab8ff13720e8ad9047dd39466b3c897
Aug 29 16:24:38 e4334f0186.servercheap.net dotnet-mycoreapp[13254]: A fatal error was encountered. This executable was not bound to load a managed DLL.
Aug 29 16:24:38 e4334f0186.servercheap.net dotnet-mycoreapp[13254]: This executable is not bound to a managed DLL to execute. The binding value is: 'c3ab8ff13720e8ad9047dd39466b3c897
Aug 29 16:24:28 e4334f0186.servercheap.net dotnet-mycoreapp[13252]: A fatal error was encountered. This executable was not bound to load a managed DLL.
Aug 29 16:24:28 e4334f0186.servercheap.net dotnet-mycoreapp[13252]: This executable is not bound to a managed DLL to execute. The binding value is: 'c3ab8ff13720e8ad9047dd39466b3c897
Aug 29 16:24:18 e4334f0186.servercheap.net dotnet-mycoreapp[13250]: A fatal error was encountered. This executable was not bound to load a managed DLL.

如果这不是一个常见的问题,我可以发布服务和虚拟主机代码。看起来更像是VisualStudioPublish的错误配置,而不是Apache的错误配置。

似乎有一个未经修改的应用程序主机可执行文件以某种方式复制到了您的发布输出中。在主机中发布之前,请尝试清理/obj目录,应该可以解决您的问题Ref

相关内容

最新更新