[英]Application Pool Crashes IIS 10 ASP.Net Core 3.2 Blazor App EF Core
I have an Asp.Net Core 3.2
Blazor Webassembly application that has been published to a server running Windows Server 2016
with IIS 10
.我有一个Asp.Net Core 3.2
Blazor Webassembly 应用程序,该应用程序已发布到运行Windows Server 2016
和IIS 10
的服务器。
After publishing to the server I can browse the login page to the site, However, when I attempt to login which calls a service and signs in with Entity Framework Core 3.1.5
.发布到服务器后,我可以浏览该站点的登录页面,但是,当我尝试登录时,它会调用服务并使用Entity Framework Core 3.1.5
登录。
However when I attempt to call a linq query on the DbContext
it seems to fail (This is deduced from log files).但是,当我尝试在 DbContext 上调用DbContext
查询时,它似乎失败了(这是从日志文件中推断出来的)。
Interestingly, if I remote into the server whilst running a login I get a JIT popup with the following error;有趣的是,如果我在运行登录时远程访问服务器,我会收到一个带有以下错误的 JIT 弹出窗口;
In the Windows System Log can see the following error;在Windows System Log中可以看到如下错误;
A process serving application pool 'myapppool(domain)(4.0)(pool)' suffered a fatal communication error with the Windows Process Activation Service.为应用程序池“myapppool(domain)(4.0)(pool)”提供服务的进程与 Windows 进程激活服务发生了致命的通信错误。 The process id was '10188'.进程 ID 为“10188”。 The data field contains the error number.数据字段包含错误号。
It seems to sometime crashes the apppool as well so if I then refresh the page i get 502 error on the site?似乎有时应用程序池也会崩溃,所以如果我刷新页面,我会在网站上收到 502 错误?
Below is a screen shot of the application pool advanced settings;下面是应用程序池高级设置的屏幕截图;
The server is running Windows 2016 with Plesk Obsidian installed on it (I'm not sure if this can interfere in any way??)服务器正在运行 Windows 2016 并安装了 Plesk Obsidian(我不确定这是否会以任何方式干扰??)
Does anyone know whats going on here please?请问有人知道这里发生了什么吗?
I don't know what's going on since I can not reproduce your issue.我不知道发生了什么,因为我无法重现您的问题。 Here is a workaround.这是一种解决方法。 Please ensure that IIS Application pool's Advanced Settings
has set ” Enable 32-Bit Application
” to true
.请确保 IIS 应用程序池的Advanced Settings
已将“ Enable 32-Bit Application
”设置为true
。
Check below link for troubleshooting the issue.检查以下链接以解决问题。
How to diagnose IIS fatal communication error problem 如何诊断 IIS 致命通信错误问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.