title: Try Catch Block seems to be Ignored under IIS 7
body: <p>I have a aspx page with several methods calls in the <code>page_load</code> event, some of them
  are from referenced .DLL (BusinessLayer) but all of it is wrapped in try/catch within
  (if !this.IsPostBack) conditional block. in the <code>catch</code> part I have a method call which outputs some javascript to show error message in fancybox jquery plugin because this
  much better error notification then implementing error pages with redirects.</p>
  
  <p>While running this in VS 10 all works fine, error occurs and fancybox pops up but
  when I moved it to IIS 7 it shows standard asp.net error page with ugly message. I am lost. Here is what I do on page_load:</p>
  
  <pre><code>       try
          {
              SetDataSource();
              IBusinessLayer bl=this.GetInstanceOf(IBusinessLayer); 
              this.LabelStatus.Text=bl.GetStatus();
          }
          catch (Exception ex)
          {
              this.ShowError(ex);
          }
  </code></pre>
  
  <p>however catch block never fires.</p>