ApplicationPool 随机崩溃处理 HTTPS 请求

问题描述

我在 Windows Server 2016 上的 IIS (10.0.14393.0) 中运行 ASP.NET 站点时遇到问题。

我在浏览器中打开的页面(仅当我使用 HTTPS 打开时)随机返回错误

enter image description here

然后我在 Windows Server 上搜索,寻找有关错误的有意义的日志。

我发现,每次出现该错误时,与该页面相关的应用程序池都会崩溃。

在 Windows 事件日志中,我有那些日志有两个错误(它们每次都以该顺序出现):

df <- cbind(c("D1","D1","D2","D3"),c(99.8,99.5,98.7,98,0),c("sp","sp","sp")) colnames(df) <- cbind("A","Per","B")

所以我下载了转储文件以更好地调查崩溃,但我没有发现任何有意义的内容,这里是内容

Name of the application that generated the error: w3wp.exe,version: 10.0.14393.0,timestamp: ------
Name of the module that generated the error: msvcrt.dll,version: 7.0.14393.2457,timestamp: ------
Exception code: 0xc0000005
Error offset ------------
Process ID that generated the error: ------
Start time of the application that generated the error: ------------
Path of the application that generated the error: c:\windows\system32\inetsrv\w3wp.exe
Path to the module that generated the error: C:\Windows\System32\msvcrt.dll
Report ID: ------------
Full package name that generated the error:
Application ID for the package that generated the error:



Name of the application that generated the error: w3wp.exe,timestamp: ------
Name of the module that generated the error: KERNELBASE.dll,version: 10.0.14393.3986,timestamp: ------
Exception code: 0xe0434352

Error offset ------------
Process ID that generated the error: ------
Start time of the application that generated the error: ------------
Path of the application that generated the error: c:\windows\system32\inetsrv\w3wp.exe
Path to the module that generated the error: C:\Windows\System32\KERNELBASE.dll
Report ID: ------------
Full package name that generated the error:
Application ID for the package that generated the error:

我不知道如何解决该问题,因此欢迎提供任何提示

解决方法

首先请检查运行worker进程w3wp.exe的账户是否有您的宿主文件夹(如Inetpub文件夹)的读/写权限,然后删除项目bin和obj文件夹并重试。

异常代码 0xe0434352 是一个通用的 CLR 异常代码。当应用程序中存在内部问题时会抛出它。在大多数情况下,它是 System.NullReferenceException 或 System.ArgumentException。没有直接的方法可以解决此类问题。我建议在 Visual Studio 中调试应用程序以获取更多详细信息。如果您无权访问源代码,可以使用 DebugDiag 或 WinDbg 进行进一步的故障排除。