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

knsnq2tg  于 2022-11-16  发布在  Apache
关注(0)|答案(1)|浏览(125)

我发布了一个托管在NETCORE应用程序上的Blazor到Apache服务器,定义了一个虚拟主机(反向代理)和一个kestrel服务,以便NETCORE部分工作,但服务器无法启动。
错误:(这是消息的一小部分,但大约有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.

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

ecfdbz9o

ecfdbz9o1#

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

相关问题