gpt4 book ai didi

asp.net - 升级到 dot net 4 后出现 IIS 错误

转载 作者:行者123 更新时间:2023-12-02 12:04:04 26 4
gpt4 key购买 nike

早在 10 月份,我们就将其中一个网站(在 IIS 6 上)从 .net 3.5 升级到 .net 4.0。从那时起,我们几乎每天都会收到以下警告和错误:

警告:

ISAPI 'c:\windows\microsoft.net\framework\v4.0.30319\aspnet_isapi.dll' reported itself as unhealthy for the following reason: 'Deadlock detected'.

错误:

It is not possible to run two different versions of ASP.NET in the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process.

我们已经检查了所有应用程序,并确保它们在正确版本的 ASP.NET 上运行,并且也在它们自己的单独应用程序池中运行。

我们在记录错误时查看了 IIS 日志,但这并没有提供有关该问题的任何线索。是否有可用的工具可以为我们提供有关哪个应用程序导致错误以及当时发生了什么的更多信息?

最佳答案

讨论here可能对您也有帮助:

You can configure the application pool to orphan the worker process rather than kill it when this condition happens - you can then use adplus to collect a hang dump of the worker process which can be analyzed to figure out what in the process is deadlocked.

(...)

It means that the asp.net thrads have not returned from whatever activity they were doing for a very long time and asp.net has run out of threads - this would normally indicate deadlock. This kb also talks about how to generate dumps for analysis for this condition.

关于asp.net - 升级到 dot net 4 后出现 IIS 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4922164/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com