title: Can't get detailed error information in ASP.NET MVC website
body: <p>I just deployed an ASP.NET MVC 3 application to our staging server. Whenever an error occurs, I cannot get the detailed error information, i.e. the "yellow screen of death." Instead, I just get a simple "Sorry, an error occurred while processing your request." message.</p>
  
  <p>My Web.config <em>does</em> include the customErrors off, i.e.:</p>
  
  <pre><code>&lt;system.web&gt;
    &lt;compilation debug="true" targetFramework="4.0"&gt;
      &lt;assemblies&gt;
        ...
      &lt;/assemblies&gt;
    &lt;/compilation&gt;
    &lt;customErrors mode="off"/&gt;
  &lt;/system.web&gt;
  </code></pre>
  
  <p>In this case, I know exactly what the underlying error is. (I forgot to set permissions on a stored procedure.) But I really want to (re)enable the error handling so I can find these bugs quickly. Of course, I will remove this once we actually go live for security reasons.</p>
  
  <p><strong>What other settings are there that could be overriding the default ASP.NET error handling?</strong></p>