2010-05-20 163 views
6

症狀:診斷IIS停產

  • 我附上一個調試器,我等了一小會兒,它會自動分離
  • 我看正常工作期間的事件日誌 - 單個請求進來後,它會等待一個一點點,關閉

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

但它沒有幫助,因爲我的錯誤沒有告訴我什麼。我看到同樣的事情,從之前我加入這個額外的記錄:

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

嗯,事實證明IIS設置爲每分鐘回收池 - 當然不是通常的配置。 (我認爲這是一個惡作劇。)我要離開這個,所以任何使用這個錯誤信息的人都可能找到幫助他們的東西。