Question

Symptômes:

  • Je joins un débogueur, j'attends un peu de temps, il se détache automatiquement
  • Je regarde le journal des événements pendant le fonctionnement normal - après une seule demande arrive, il attend un peu, les bas se ferme

Disagnosing. J'ai suivi les étapes suivantes pour les arrêts d'exploitation forestière dans IIS:

Je sais que ces travaillent parce que ...

Ce que je vois dans les journaux d'événements lorsque je change le 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

Mais il ne permet pas parce que l'erreur de mysetery ne me dit rien. Je vois la même chose que d'avant ajouté cette journalisation supplémentaire:

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

Quelqu'un a des idées pour plus de débogage?

Était-ce utile?

La solution

Eh bien, il se trouve que IIS en quelque sorte obtenu mis à recycler la piscine chaque minute - certainement pas la configuration habituelle. (Je pense que c'était une blague.) Je quitte cette place afin que tous ceux qui googles message d'erreur peut trouver quelque chose qui les aide.

Autres conseils

Voici une bonne référence:

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

Vous pouvez également utiliser DebugDiag:

http: // www .microsoft.com / téléchargements / Details.aspx? FamilyID = 28bd5941-c458-46f1-B24D-f60151d875a3 & DisplayLang = fr

DebugDiag est l'outil MS soutien devrait vous utilisez pour générer un rapport pour les inspecter.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top