elmah

Elmah backup exception logging

Hi I have set up elmah to log exceptions on my SQL server. Is there any way to define a fallback mechanism if the SQL server fails. I would like elmah to start logging to xml files if the sql server is inaccessible. Any idea how to do that? ...

What does the utmscr or utmcct values mean in reference to the Http cookie Server variable?

What does the utmscr and/or utmcct values mean in reference to the Http cookie Server variable? Are they acronyms or short for something? We are getting Elmah errors with the title "System.Web.HttpException: Unable to validate data." In each Elmah error message, the Http Cookie server variable value contains a property called utmscr s...

Using ELMAH in a Sharepoint environment

Has anyone intergated ELMAH into their sharepoint environment? I suppose it's possible as it's all ASP.net but I just wondered if anyone had done it and if there's a walk through on how to achieve it. ...

Using ELMAH in a console application

I just started using ELMAH and am a fan. My team supports a large number of web applications and I'm particularly excited that ELMAH lets us save exceptions from each application to the same MS SQL database table. We also support a few console, DLL and desktop applications. Is it possible to use the ELMAH DLL to log exceptions in these...

VS2008 Web Deployment Project Section Replacement with Elmah

I'm using a web deployment project and want to do some section replacement with the emlah/errorMail section. I don't want to send emails in debug build mode. I have created the custom section and put it in an errorMail.config. In the properties of web deploy project under replacements, I have elmah/errorMail=errorMail.config. The error...

Elmah - ASP.NET -> Multiple Connection Strings -> Set SQL Error Log Connection String in Code

I am looking to integrate ELMAH into an existing ASP.NET application to further support error investigations and could use some help with the connection strings. We use a single web.config file for all or our environments the application is deployed in, and at runtime, the app decides which environment it is in, typically based on URL. ...

Help : Found conflicts between different versions of the same dependent assembly using SQLIte

One of my projects uses Elmah, which references SQLite. Elmah is built against SQLite for .Net version 1.0.44.0 well I was experimenting with some 64 bit stuff (my dev box is 32 bit) so I needed the 64 bit version of SQLite for .Net. I grabbed the latest build of it (1.0.51.0 at the time) and used their installer to install it. For my 3...

Exception Logging for WCF Services using ELMAH

We are using the excellent ELMAH to deal with unhandled exceptions in an ASP.NET 3.5 web application. This works extremely well for all of the site apart from WCF services which are being consumed using the REST features. When an exception occurs within the operation methods that is not handled by the application code, WCF handles it in ...

Capturing raw HTTP POST Data during Exception

I have a WCF Service hosted in IIS/ASP.NET that accepts HTTP Post (not form post) of serialized objects. If the client sends malformed requests (eg they're not serializing the object correctly) I'd like to log the message sent up. We're already using ELMAH to capture unhandled exceptions, so simply attaching the post data would be t...

Exception handling in a client - server architecture

I have a project consisting of a windows client (approx. 150 users), a webservice and some windows services. All together working in an intranet and build using C# .NET 3.5. Now I want to log exceptions in a central database and manage them (watch top 10, ticket system, etc.) via a web application. I thought about using and expanding EL...

How can I use jscript assertion to filter exception types in Elmah 1.1 RC ?

The first binding against 404 works so I got the ErrorFilterModule set up properly, but the jscript section does not seems to work at all. HttpRequestValidationException is still being send in the report mail. <errorFilter> <test> <equal binding="HttpStatusCode" value="404" type="Int32" /> <jscript> <![CDATA[ ...

Elmah not working with asp.net site

I've tried to use elmah with my asp.net site but whenever I try to go to http://localhost:port/elmah.axd I get resource not found exception. My web.config is given below. <?xml version="1.0"?> <configuration> <configSections> <sectionGroup name="elmah"> <section name="security" requirePermission="false" ...

How to configure ELMAH to work with Windows Azure? I get a 404 on Elmah.axd.

I have an ASP.NET MVC web role running on Windows Azure and have setup ELMAH properly in the web.config. I also have my global.asax ignore *.axd routes. Locally, I am able to load /elmah.axd, however when I deploy to Azure, I get a 404 on that page. Has anyone gotten ELMAH working on Azure? ...

ELMAH vs Enterprise Library Exception Handling Block

My team is currently in the process of building an ASP.NET MVC application, and we're trying to decide which of these frameworks to implement to deal with error handling and logging. What are the reasons for choosing one of these over the other? ...

Elmah For other PHP

Is there an Elmah equivalent for PHP in general, Symfony in particular? ...

Using Elmah to audit interesting events

I can wire up Elmah to log Exceptions in my ASP.Net application and it works well. I also have a requirement to audit interesting events that occur in the application. For example, I must audit the "email address was changed" event and store the old and new email address. Is it appropriate to use Elmah to log these interesting events? ...

Can I use ELMAH for errors in my UI as well as BizTalk or WCF services?

So I understand that ELMAH is pretty awesome and a great tool for ASP. I'm seeking a tool for centralized error handling spanning disparate technologies across the enterprise. ELMAH might be suitable if you can log exceptions to it from BizTalk or a WCF service... provided that it does more than just catch unhandled ASP exceptions. Any...

ELMAH causing trouble to other ASP.NET application

Hi, I have configured ELMAH for one of my ASP.NET 1.1 application and this works fine. But, when I was trying to run another application in ASP.NET 2.0, it was causing trouble due to HttpModule of ELMAH. Is there any way, I can have a liberty to use it for one application and not for other? -Vipin ...

Elmah basic setup questions/issues ...

I'm not finding this to be easy to setup; either there is a missing step in the setup configuration, it isn't work correctly, or I don't actually understand it's purpose. There is something definitely wrong here. The problem must obviously be me. I'm just not getting this to work. Here's what I've done. Create a brand new mvc applicat...

Elmah and SQL Server Compatability Mode 90

The script to setup up the SQL Server database for Elmah has a warning message that says the database is designed to work under SQL Server Compatability Mode 80 (SQL Server 2000). Does anyone know if there are any problems in running the script to build the database on a Compatability Mode 90 database. ...