PREREQUISITES: Your Microsoft SQL Server must be version 2000 or above.
NOTE: ELMAH on SQL Server package is version 1.2. It has a dependency to the ELMAH package, which must be version 1.2 or above. You can also install the ELMAH NuGet package, version 1.2.2, from the NuGet repository.
Make sure the elmah section group is added inside the <configSections> tag in the web.config file. If not, add the section group manually:
NOTE: Мake sure the Elmah.dll fileis loaded in the bin folder of your Sitefinity CMS web application.
NOTE: You can find the script in the ELMAH GitHub repository.
If you do not have an SMTP server, you can download the open source smtp4dev and configure it to listen on port 26.
To do this, in your web.config file, after the <configSections> tag, add the following:
For more information about the ELMAH error logging handler, see Test error logging with ELMAH.
NOTE: When the ELMAH logging is turned off, the standard logging is working and you can see all the logging information in App_Data/Sitefinity/Logs. When you select the IsElmahLoggingTurnedOn checkbox, all logging information is transferred to ELMAH.
Back To Top