title: Debugging 500 Error on IIS 7
body: <p>Hope someone can help me. I have tried all of the following solutions:</p>
  
  <ul>
  <li>Send error to browser is true</li>
  <li>Error mode Detailed</li>
  <li>Enable parents path is true</li>
  </ul>
  
  <p>But still the IIS is loading the file <a href="http://pastebin.com/kUbFEJYR" rel="nofollow">Errors/500.aspx</a> that is in the project folder and I cannot debug the error.</p>
  
  <p>This is my <a href="http://pastebin.com/9bgnfmFp" rel="nofollow">Web.config</a> file. Even if custom error mode is Off it's still loading custom Errors/500.aspx file.</p>