title: Application failure in Release mode
body: <p>I have a problem with my ASP.NET application. It has been developed for about a year or so without disabling Debug mode. I wanted to test if it works without debug and it isn't but, when I set debug="true", it works fine.</p>
  
  <p>When I try to open application for the first time it gives me "Server not available" error. In the events log I have two errors:</p>
  
  <ol>
  <li>.NET Runtime 2.0 error - Faulting application aspnet_wp.exe, version 2.0.50727.3082, stamp 492b8702, faulting module kernel32.dll, version 5.1.2600.3119, stamp 46239c44, debug? 0, fault address 0x00012a5b.</li>
  <li>ASP.NET 2.0.50727.0 - Unexpected end of process aspnet_wp.exe (PID: 4932) (it may be written a little different, it's translated).</li>
  </ol>
  
  <p>My IIS version is 5.1 running on Windows XP.</p>
  
  <p>I'll be grateful for any suggestions.</p>
  
  <p>UPDATE:
  Change of debug mode is made in the web.config</p>