症状:
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
任何人都有更多调试的想法吗?
答案 0 :(得分:0)
嗯,事实证明,IIS不知何故设置为每分钟回收池 - 当然不是通常的配置。 (我认为这是一个恶作剧。)我离开了这个,所以任何搜索错误信息的人都可能找到帮助他们的东西。
答案 1 :(得分:0)
这是一个很好的参考:
http://blogs.iis.net/mailant/archive/2008/03/07/iis7-diagnostics-for-developers-talk-at-mix08.aspx
您也可以使用DebugDiag:
DebugDiag是MS Support可用于生成报告供他们检查的工具。