【问题标题】:A process serving application pool 'App pool' suffered a fatal communication error with the Windows Process Activation Service为应用程序池“应用程序池”提供服务的进程与 Windows 进程激活服务发生了致命的通信错误
【发布时间】:2019-02-12 17:21:29
【问题描述】:

我有 asp.net 网络表单应用程序。我将程序部署到 IIS 服务器并且程序运行良好,但所有用户的 InProc 会话经常同时死亡。 我知道应用程序池通常是回收的。我安装了 DebugDiagx64 程序并添加了这个应用程序池的日志。结果是这样的

Some exception details were omitted due to the following reasons
        The maximum number of stacks (MAX_CLR_EXCEPTION_STACKS_PER_EXCEPTION_TYPE = 10) for this CLR exception type have been collected: 'NOT_FOUND'
        The maximum number of stacks (MAX_CLR_EXCEPTION_STACKS_PER_EXCEPTION_TYPE = 10) for this CLR exception type have been collected: 'System.Threading.ThreadAbortException'
        The maximum number of stacks (MAX_CLR_EXCEPTION_STACKS_PER_EXCEPTION_TYPE = 10) for this CLR exception type have been collected: 'System.Net.HttpWebRequest'
        The maximum number of stacks (MAX_CLR_EXCEPTION_STACKS_PER_EXCEPTION_TYPE = 10) for this CLR exception type have been collected: 'System.ServiceModel.FaultReason'
        The maximum number of stacks (MAX_CLR_EXCEPTION_STACKS_PER_EXCEPTION_TYPE = 10) for this CLR exception type have been collected: 'System.Threading.ExecutionContext'
        The maximum number of stacks (MAX_CLR_EXCEPTION_STACKS_PER_EXCEPTION_TYPE = 10) for this CLR exception type have been collected: 'System.NullReferenceException'
        The maximum number of total stacks (MAX_CLR_EXCEPTION_STACKS_TOTAL = 100) for all CLR exception types have been collected)
        The maximum number of stacks (MAX_CLR_EXCEPTION_STACKS_PER_EXCEPTION_TYPE = 10) for this CLR exception type have been collected: 'System.Security.Cryptography.CryptographicException'

如何解决这个问题?

【问题讨论】:

    标签: asp.net iis application-pool windows-server recycle


    【解决方案1】:

    我发现了问题。我使用的是 UDT 类型,Odac 版本有时会抛出异常并且应用程序池被回收。我不使用udt类型,问题解决了。

    【讨论】:

      猜你喜欢
      • 2012-06-22
      • 2019-08-28
      • 2010-11-29
      • 1970-01-01
      • 2017-02-22
      • 2015-10-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多