title: IIS 6.0 Application Pool crash
body: <p>Have a lot of troubles on production server. Some routing cause crashing of Application Pool with event id 1011:</p>
  
  <blockquote>
    <p>Event Type: Warning
    Event Source: W3SVC
    Event Category: None
    Event ID: 1011
    Date:  1/21/2009
    Time:  9:08:17 AM
    User:  N/A
    Computer: xxxxxxxxxxxxx
    Description:</p>
    
    <p>A process serving application pool 'DefaultAppPool' suffered a fatal communication error with the World Wide Web Publishing Service. The process id was '3788'. The data field contains the error number. 
    8007006d </p>
  </blockquote>
  
  <p>I have a few very hard hours for me before I found a problem.
  Thanks to Tess Ferrandez and her <a href="http://blogs.msdn.com/tess/archive/2006/04/27/asp-net-2-0-crash-case-study-unhandled-exceptions.aspx" rel="noreferrer">blog post</a> I found it.</p>
  
  <p>Always double check Your multithreaded code in asp.net application. When  Unhandled exceptions occurs application pool crashes and it's damn hard to find WHY. </p>