Диагностика отключений служб IIS

симптомы:

  • я прикрепляю отладчик, я немного жду, он автоматически отсоединяется
  • Я смотрю журнал событий во время нормальной работы - после того, как приходит один запрос, он немного ждет, выключается

Disagnosing. Я выполнил следующие шаги для регистрации остановок в Службы IIS:

Я знаю, что они работают, потому что...

что я вижу в журналах событий, когда я меняю веб.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

у кого-нибудь есть идеи для дополнительной отладки?

2 ответов


ну, оказывается, IIS каким - то образом настроился на переработку пула каждую минуту-конечно, не обычная конфигурация. (Думаю, это была шутка.) Я оставляю это, чтобы любой, кто гуглит это сообщение об ошибке, мог найти что-то, что им поможет.


вот хорошая ссылка:

http://blogs.iis.net/mailant/archive/2008/03/07/iis7-diagnostics-for-developers-talk-at-mix08.aspx

вы также можете использовать DebugDiag:

http://www.microsoft.com/downloads/details.aspx?FamilyID=28bd5941-c458-46f1-b24d-f60151d875a3&DisplayLang=en

DebugDiag-это инструмент поддержки MS, который вы используете для создания отчета для их проверки.