Domanda

I sintomi:

  • allego un debugger, aspetto un po 'di tempo, in modo automatico stacca
  • guardo il registro degli eventi durante il funzionamento normale - dopo una singola richiesta arriva, aspetta un po ', le chiude giù

Disagnosing. Ho seguito i seguenti passi per arresti di registrazione in IIS:

So che questi stanno lavorando perché ...

Quello che vedo nel caso i ceppi quando cambio la 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

Ma non aiuta perché l'errore mysetery non mi dice nulla. Vedo la stessa cosa che da prima ho aggiunto questa registrazione in più:

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

Qualcuno ha qualche idea per più di debug?

È stato utile?

Soluzione

Bene, si scopre che in qualche modo ha ottenuto IIS impostata riciclare il pool di ogni minuto - certamente non la solita configurazione. (Credo che fosse uno scherzo.) Sto lasciando questo in modo chiunque googles quel messaggio di errore potrebbe trovare qualcosa che li aiuta.

Altri suggerimenti

Ecco un riferimento buono:

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

È inoltre possibile utilizzare DebugDiag:

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

DebugDiag è lo strumento MS Support avrebbe utilizzato per generare un rapporto per loro di ispezionare.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top