Note that there are some explanatory texts on larger screens.

plurals
  1. POElmah and Sitecore and 404 error processing
    text
    copied!<p>Hello I am trying to setup ELMAH with Sitecore, I have read this <a href="http://newguid.net/sitecore/2011/using-elmah-for-error-logging-within-sitecore/#t-recent" rel="nofollow">http://newguid.net/sitecore/2011/using-elmah-for-error-logging-within-sitecore/#t-recent</a> and it solution is working fine with some error from my point of view. 1. ELMAH skip store 404 to store in log in all cases + 2. Sitecore not processing 404 error in case if URL contain "." char. For example <em>http://mysite/wrongurl</em> redirect me to 404.html but <em>http://mysite/wrongurl.dfgd</em> show to me Server Error in Application (IIS 7.5)(not my 404.html) this is my settings just releted to ELMAH and processing errors</p> <pre><code> &lt;configSections&gt; &lt;sectionGroup name="elmah"&gt; &lt;section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah"/&gt; &lt;/sectionGroup&gt; &lt;/configSections&gt; &lt;elmah&gt; &lt;!-- NetKeyElmah inside of App_Config\ConnectionStrings.config --&gt; &lt;errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="ElmahData" /&gt; &lt;/elmah&gt; &lt;sitecore&gt; &lt;settings&gt; &lt;setting name="ItemNotFoundUrl" value="/404.html" /&gt; &lt;setting name="LayoutNotFoundUrl" value="/404.html" /&gt; &lt;setting name="LinkItemNotFoundUrl" value="/sitecore/service/notfound.aspx" /&gt; &lt;setting name="IgnoreUrlPrefixes" value="/sitecore/admin/elmah.axd|/sitecore/default.aspx" /&gt; &lt;/settings&gt; &lt;/sitecore&gt; &lt;system.webServer&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" path="/sitecore/admin/elmah.axd" verb="POST,GET,HEAD" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" /&gt; &lt;/handlers&gt; &lt;/system.webServer&gt; &lt;system.web&gt; &lt;customErrors mode="On" defaultRedirect="/errorpage.html" &gt; &lt;error statusCode="404" redirect="/404.html" /&gt; &lt;error statusCode="500" redirect="/500.html" /&gt; &lt;/customErrors&gt; &lt;/system.web&gt; </code></pre> <p>How to setup finish my setup in correct way.</p>
 

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