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.2. 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 Downloads section. Download the Sources ZIP file.
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.
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important