诊断IIS关闭

Tom*_*ter 6 iis iis-7 application-shutdown

症状:

  • 我附加了一个调试器,我等了一会儿,它会自动分离
  • 我在正常操作期间观察事件日志 - 在一个请求进入后,它等待一点,关闭

Disagnosing.我已按照以下步骤记录IIS中的关闭:

我知道这些都有效,因为......

我在更改web.config时在事件日志中看到的内容:

The description for Event ID 0 from source ASP.NET 2.0.50727.0 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 



_shutdownMessage=IIS configuration change
HostingEnvironment initiated shutdown
CONFIG change
CONFIG change
HostingEnvironment caused shutdown

_shutdownStack=   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal()
   at System.Web.Hosting.HostingEnvironment.InitiateShutdown()
   at System.Web.Hosting.PipelineRuntime.StopProcessing()

the message resource is present but the message is not found in the string/message table

但它没有帮助,因为mysetery错误没有告诉我任何事情.我看到了与之前添加额外日志记录相同的事情:

The description for Event ID 0 from source ASP.NET 2.0.50727.0 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 



_shutdownMessage=HostingEnvironment initiated shutdown
HostingEnvironment caused shutdown

_shutdownStack=   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal()
   at System.Web.Hosting.HostingEnvironment.InitiateShutdown()
   at System.Web.Hosting.PipelineRuntime.StopProcessing()

the message resource is present but the message is not found in the string/message table

任何人有任何更多调试的想法?

Tom*_*ter 0

好吧,事实证明 IIS 以某种方式设置为每分钟回收一次池 - 当然不是通常的配置。(我认为这是一个恶作剧。)我将其保留,以便任何通过谷歌搜索该错误消息的人都可能找到对他们有帮助的东西。