为应用程序池“应用程序池”提供服务的进程与Windows进程激活服务发生致命的通信错误

时间:2018-09-07 10:58:33

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

我有asp.net Web表单应用程序。我将程序部署到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'

如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

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