Note that there are some explanatory texts on larger screens.

plurals
  1. POElmah giving error code 500 on production, but not on old host/local development
    text
    copied!<p>I can't figure out how to get Elmah working on my production host for my Asp.net MVC project. Locally and on my last host, everything is setup correctly and going to <code>/Elmah.axd</code> successfully brings up the error logger. However, on production host it is giving me a 500 error code. I don't know what else to do to debug the issue. My web.config looks like:</p> <pre><code>&lt;configSections&gt; &lt;sectionGroup name="elmah"&gt; &lt;section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah" /&gt; &lt;section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah" /&gt; &lt;section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" /&gt; &lt;section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" /&gt; &lt;/sectionGroup&gt; &lt;/configSections&gt; &lt;system.webServer&gt; &lt;validation validateIntegratedModeConfiguration="false" /&gt; &lt;modules runAllManagedModulesForAllRequests="true"&gt; &lt;add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" /&gt; &lt;/modules&gt; &lt;handlers&gt; &lt;add name="Elmah" verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" /&gt; &lt;/handlers&gt; &lt;/system.webServer&gt; &lt;system.web&gt; &lt;httpModules&gt; &lt;add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" /&gt; &lt;/httpModules&gt; &lt;httpHandlers&gt; &lt;add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" /&gt; &lt;/httpHandlers&gt; &lt;/system.web&gt; &lt;elmah&gt; &lt;errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="MyDbContext" /&gt; &lt;/elmah&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload