简体   繁体   English

我的网站上有关白屏死机 (WSOD) 的问题

[英]Problems regarding White Screen Of Death (WSOD) at my site

I have a problem regarding White Screen Of Death (WSOD) at my site.我在我的网站上遇到了关于白屏死机 (WSOD) 的问题。
I will try to explain what I have tried until now.我将尝试解释到目前为止我所做的尝试。

I know it is not a triviel error to debug, but maybe some of you have tried something similar.我知道调试不是一个微不足道的错误,但也许你们中的一些人已经尝试过类似的东西。

Here is the setup: One Windows Server 2019 v1809 with one IIS: 10.0.17763.1.这是设置:一台 Windows Server 2019 v1809 和一台 IIS:10.0.17763.1。
Multiple websites with associated application pools.具有关联应用程序池的多个网站。
It's a MVC solution, and we are using .net 4.7.2.这是一个 MVC 解决方案,我们使用的是 .net 4.7.2。

What I have tried:我试过的:

  • Recycled application pools every night每晚回收应用程序池
  • Restarted the server every night每天晚上重启服务器
  • Issued a IISReset every night每天晚上发出一个 IISReset
  • Deleted temporary files in C:\Windows\Microsoft.NET\已删除 C:\Windows\Microsoft.NET\ 中的临时文件
  • Looked at the IIS logs看了IIS日志
  • Looked at the application log, our own log看了应用日志,我们自己的日志
  • Looked at the Windows log看了Windows的日志
  • Searched the Internet for similar problems在网上搜索了类似的问题
  • Made sure there always were some traffic at the website确保网站上总是有一些流量
  • Made sure no errors were shown when pressing F12 in the browser, the site always returs code 200确保在浏览器中按 F12 时没有显示错误,该站点始终返回代码 200

The WSOD comes at varies times, and not all the sites are affected at the same time. WSOD 出现的时间不同,并非所有站点都同时受到影响。
A manuel recycle of the website always helps.网站的手动回收总是有帮助的。

My question is, have any of you encounted similar problems?我的问题是,你们中有人遇到过类似的问题吗?
And how did you solve it?你是怎么解决的?

If you need more information please ask, and I will try to provide it.如果您需要更多信息,请询问,我会尽力提供。

/Regards Søren /问候索伦

This kind of problem is very unusual in IIS, because there is almost no record and useful information in the log file.这种问题在IIS中非常少见,因为日志文件中几乎没有记录和有用的信息。

You can try to use this plan to repair IIS.您可以尝试使用此方案修复 IIS。

  1. Unregister all the versions of ASP.NET with command "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –ua".使用命令“C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –ua”取消注册 ASP.NET 的所有版本。 and the framework 64 also versions.并且框架 64 也有版本。 3.0 and 3.5... etc 3.0 和 3.5... 等

  2. Delete ASPNET account from "Local Users and Group – Users".从“本地用户和组 - 用户”中删除 ASPNET 帐户。

  3. reregister ASP.NET with IIS using "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –i".使用“C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –i”用 IIS 重新注册 ASP.NET。 and framework64... net 3, 3.5 etc和 framework64... 净 3、3.5 等

  4. Give permissions to the ASPNET account using "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –ga machinename\ASPNET".使用“C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis –ga machinename\ASPNET”为 ASPNET 帐户授予权限。 for framework 32 and 64 and versions.适用于框架 32 和 64 及版本。

  5. Reset IIS.重置 IIS。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM