Questions tagged [elmah.mvc]

ELMAH.MVC is a tool to integrate ELMAH into ASP.NET MVC applications.

ELMAH.MVC is for painless integration of into ASP.NET MVC application.

Links:

139 questions
0
votes
1 answer

Application_Error not called when using Elmah.MVC

I had some custom error handling code in Application_Error, which was doing some logging and then handing off to my Error controller action/view. I had a bizarre issue where sometimes - and only on my production server, not on my development machine…
Gary McGill
  • 26,400
  • 25
  • 118
  • 202
0
votes
1 answer

Convert ELMAH raw files to Fiddler SAZ traces

Is there a way to convert Raw/Source data in XML or in JSON generated by ELMAH to a Fiddler SAZ trace file?
K.A.D.
  • 3,648
  • 3
  • 34
  • 35
0
votes
2 answers

Elmah library error handling within WebAPI 2

I've installed the nuget package for Elmah.WebApi and elmah.Mvc, which is catching a lot of my errors. However I have a parallel foreach loop which is throwing an error and not being caught/logged by elmah. I assumed the nuget packages would…
Phil
  • 1,609
  • 12
  • 24
0
votes
1 answer

ELMAH: Error Logging Modules And Handlers

Could any one tell me, How to work with Elmah in MVC 5.. when an error occurs it has to redirect to a some default page like a service error,Http not found. public ActionResult About() { ViewBag.Message = "Your app description page."; try …
karthik
  • 57
  • 6
0
votes
1 answer

Elmah.MVC - MVC 5 ArgumentNullException: Value cannot be null. Parameter name id:

I am receiving an error when trying to render the elmah error logs and using SQL DB. "http://localhost:5525/elmah" [ArgumentNullException: Value cannot be null. Parameter name: id] Elmah.ErrorLogEntry..ctor(ErrorLog log, String id, Error error)…
Stanomatic
  • 421
  • 6
  • 8
0
votes
1 answer

Elmah exception handling with OnException Filter WebAPI

If I implement an exception filter in a WEB API project, and I throw an exception in a controller will elmah log the thrown exception even though I have an exception filter?If so how can I force elmah not to log that exception?
gh9
  • 10,169
  • 10
  • 63
  • 96
0
votes
0 answers

how can I make Elmah.io integrate with my custom membership provider in asp.net MVC?

I installed Elmah.io properly but it doesnt work. Visual studio gives 6 messages like; Could not find schema information for the element 'security' and 'errorlog' and 'elmah' and 'type' and logid and 'allowremoteaccess' . how can i make it…
cinfis
  • 345
  • 4
  • 14
0
votes
1 answer

Turn off emails only for 404 Errors

I am sharing a simple solution for turning off Elmah sending emails for 404 Http Errors. I wanted elmah to still log the 404 errors in case we find some hackers trying to find some config files etc.
Rhys Stephens
  • 889
  • 3
  • 20
  • 36
0
votes
1 answer

Elmah getting stuck in default route?

I added Elmah.MVC to my MVC-site, but when access /elmah, my site gets stuck in a redirect loop /elmah?culture=en - which I reckon is because of my one route config entry: public class RouteConfig { public static void…
nitech
  • 1,822
  • 3
  • 21
  • 35
0
votes
1 answer

Does Elmah handle unhandled exceptions from other layers?

I'm new to Elmah and considering implementing it in a project. It would be an ASP.NET MVC + Umbraco + EF web project which will have multiple layers (Business, DAL etc). My interest in Elmah is its ability to handle unhandled exceptions. But the…
user576510
  • 5,777
  • 20
  • 81
  • 144
0
votes
1 answer

elmah.axd not found on IIS 8.0

Ok..I know this is asked many times and I looked bunch of questions and answers about this and nothing worked for me and I am getting crazy. I am trying to put elmah to my asp.net mvc 5 application and I can't get it to work. I keep getting not…
user3697231
  • 33
  • 1
  • 8
0
votes
1 answer

Organizing "elmah.sqlservercompact" nuget package

I installed both the elmah.mvc and elmah.sqlservercompact (package link) nuget packages. This gets elmah to log to Sql Server Compact. Problem is it copies a large number of files from the _bin_deployableAssemblies folder, on every build. How do I…
h bob
  • 3,610
  • 3
  • 35
  • 51
0
votes
1 answer

Elmah error logging on azure storage

I am using Elmah for logging error in my asp.net MVC application. This is added from nuget. I am using Azure table storage for logging the exceptions. The Elmah is working fine and logging exceptions. The only problem is it show only first 15…
Devesh Tipe
  • 141
  • 10
0
votes
1 answer

How do I get ELMAH to log full exception details?

When my server encounters an error ELMAH successfully creates a log of the error including the URL & post data etc but the details of the exception itself are not in the xml log file. How do I change this?
Peter Morris
  • 20,174
  • 9
  • 81
  • 146
0
votes
1 answer

Send error email if only 404 using Elmah with MVC 4.5

My webconfig has something like this... and I wanted to filter so I only capture 404 errors to my email .. I am using MVC so what is the best way to do that..? thanks First time using Elmah ... ... …
NoviceDeveloper
  • 1,270
  • 3
  • 15
  • 41