After setting up an MVC site, IIS always returned 500, but without any extra info in the Application Event log.

I found the following configuration settings on the ASP.NET forums, which helped a lot!

Source: ASP.NET forums

<configuration>
  <system.webServer>
    <httpErrorserrorMode="Detailed"/>
    <aspscriptErrorSentToBrowser="true"/>
  </system.webServer>
  <system.web>
    <customErrorsmode="Off"/>
    <compilationdebug="true"/>
  </system.web>
Tags: | Categories:
blog comments powered by Disqus