質問

症状:

  • 私はデバッガーを添付します、私はしばらく待ちます、それは自動的に分離します
  • 私は通常の操作中にイベントログを見ます - 単一のリクエストが入った後、少し待って、シャットダウンします

診断。 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

誰かがもっとデバッグするためのアイデアはありますか?

役に立ちましたか?

解決

まあ、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サポートがあなたが検査するためのレポートを生成するために使用するツールです。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top