简体   繁体   English

应用程序池崩溃 IIS 10 ASP.Net Core 3.2 Blazor App EF Core

[英]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 2016IIS 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 弹出窗口;

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.

相关问题 使用 Windows10 的 IIS 上的 ASP.NET Core 应用程序不断崩溃 - Constant crashes of ASP.NET Core app on IIS with Windows10 将 ASP.NET 核心应用程序部署到 IIS - Deploy ASP.NET CORE Application IN TO IIS 如何更新 ASP.NET 核心文件而不停止 .NET5 中的 IIS 应用程序和池? - How to update ASP.NET Core files without stop IIS Application & Pool in .NET5? 是否可以在 iis 中托管单个文件 asp.net core 5 blazor? - Is it possible to host single file asp.net core 5 blazor in iis? 为什么 IIS 中 ASP.NET Core 的应用程序池需要很长时间才能停止? - Why does an application pool for ASP.NET Core in IIS take a long time to stop? 在一个 IIS 应用程序池中托管两个 asp.net 核心项目 - Hosting two asp.net core projects in one IIS application pool IIS 应用程序池在调试时出错 asp.net 核心 3 web Z8A5DA52ED1264427D359E70C057 - IIS application pool error while debugging asp.net core 3 web api 在 ASP.Net Core 集成测试中模拟 IIS App Pool Identity - Simulating IIS App Pool Identity in ASP.Net Core Integration Test 带有 ASP.NET Core 3.0 和 EF Core 的多租户应用程序 - Multi tenant application with ASP.NET Core 3.0 and EF Core ASP.NET中的ASP.NET核心应用程序中的ASP.NET 4.5应用程序 - ASP.NET 4.5 application inside of ASP.NET Core app in IIS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM