Questions tagged [elmah]

ELMAH (Error Logging Modules and Handlers) is an application-wide error logging facility for ASP.NET that is completely pluggable.

ELMAH (Error Logging Modules and Handlers) is an application-wide error logging facility that is completely pluggable. It can be dynamically added to a running ASP.NET web application, or even all ASP.NET web applications on a machine, without any need for re-compilation or re-deployment.

To learn more about ELMAH, see the MSDN article “Using HTTP Modules and Handlers to Create Pluggable ASP.NET Components” by Scott Mitchell and Atif Aziz.

Installing ELMAH can most easily be done using its NuGet package:

Install-Package elmah
968 questions
-1
votes
1 answer

Is there a setting that I can configure ELMAH to automatically track user and CRUD activity?

I am using ELMAH.MVC for error logging but I was wondering if I could also do the same for logging user movement(what pages the user visits, information lookups, etc) and Create, Read, Update, Delete activity within the application. Is this possible…
Skullomania
  • 2,225
  • 2
  • 29
  • 65
-1
votes
1 answer

Possible to transform ELMAH subject in VSTS release?

We've setup our release pipeline using a single build that triggers a release to multiple environments with variables for XML config substitution. This is working quite well for any config values in appSettings or connectionStrings but we have an…
Mike Devenney
  • 1,758
  • 1
  • 23
  • 42
-1
votes
1 answer

asp.net web api elmah doesnt log errors to xml file

I'd like to use Elmah for error logging for my web api application. Id like it to logg errors to my App_Data folder in web project. But this doesnt work currently. I initially installed just elmah. And could see error logs by visiting my…
Oaks-view
  • 391
  • 1
  • 15
-1
votes
2 answers

exception handling through elmah

The following is the code in UI, BLL and DAL. BLL needs to handle the exception if there is any issue in the executenonquery of DAL and show the user with a generic message. We are using Elmah for error handling.Could anyone please suggest how to…
Rama
  • 73
  • 1
  • 4
  • 14
-1
votes
1 answer

Handle sql exception in Business logic

I have the executenonquery method in Data Access Layer. I need to handle exception in Business logic when executenonquery fails. I am using Elmah logger in BLL. There is no return value from ExecuteNonQuery method, so what condition should I check…
Rama
  • 73
  • 1
  • 4
  • 14
-1
votes
1 answer

Elmah giving NullReferenceException

When I execute this line of code Elmah.ErrorSignal.FromCurrentContext().Raise(context.Exception); I get the following error With the following stack trace... at Elmah.Error..ctor(Exception e, HttpContext context) at…
Rod Johnson
  • 2,387
  • 6
  • 30
  • 48
-2
votes
1 answer

integration of Elmah with aspnetboilerplate

I can see that ABP logs all errors in the log.txt file in the but wonder if there is any tutorial that explains how to add ELMAH to the Boilerplate template? I am using Asp core + Angular template. I have already installed Elmah to my solution but…
Mohammad Shadmehr
  • 675
  • 11
  • 26
-2
votes
1 answer

Gmail account ID is not sending error mail using ELMAH

Its working fine if i am using domain email account like test@xyz.com but not working when i am using gmail email ID. My web config is below..