elmah

How to remove "Auth_Password" from ELMAH logs.

For fairly obvious reasons, I would like to identify the best way to remove the Auth_Password from being captured by ELMAH. What is the best way to go about doing so? ...

ELMAH with multiple applications

Just got ELMAH running, and so far it seems great. I am wondering two things: I am using ELMAH from multiple applications, all logging to the same table in MSSQL. Will I be able to drop the .axd file in any project to browse all the logs, or will I need a custom solution? (The latter seems more likely, so I can have filtering options, ...

Extend ELMAH to include another viewer hitting a different table

I've been doing a little tweaking of the SQL-side of ELMAH to provide basic logging capabilities to my MVC app. I changed ELMAH_LogError to test the TYPE field for text sent by my App and, if found, inserts to a different table that i'd created by 'Script As' It was reasonably easy to simply create a new table because I didn't try to r...

How to enable and disable ELMAH in web.config and in code behind

Hello, I am using ELMAH for error reporting in my asp.net projects. everything is working great. Except when i debug a project i don't want to send email report to the allowed users. How can i accomplish this feat? Thank you, Sean ...

Is there a way to add an elmah rss feed to google reader?

Elmah has an rss feed and rss digest feature. My feeds are working just fine from within my brwoser. However I would like to add them to google reader as this is my feed reader of choice. The problem is that Elmah uses an AXD handler to server its information - therefore the path to the RSS feed is not a physical one. For example the RS...

Cant get elmah to send email with MVC

"The specified string is not in the form required for an e-mail address." I get the above and then it looks for source. The email address is fine and I have the module in place. Errors are being logged fine. WHat else can be going on? ...

Using Elmah with Cassini

Does anyone know if I can use Elmah with Visual Studio build-in web server(aka Cassini)? I get it working easily on IIS, but using same configuration, it doesn't work with Cassini. When I requested the log page via http://localhost:62364/elmah.axd, I had "The resource cannot be found." ...

Filter on exception text in elmah

Is there a way to filter exceptions in elma using the exception message? Examples: "System.Web.HttpException: Request timed out." I don't want to filter out all HttpException, but only the timed-out requests. "System.Web.HttpException: Maximum request length exceeded." What I don't want to do is write own code for that. So is it possib...

Configure Elmah to use existing stored procedure/tables

Hi, We have a system that already has a table and some stored procedures used for logging (Oracle). I am currently working on another system which is going to use the same database, but does not have a system for logging errors yet. I read that Elmah was an easy to use system, and have tried to set it up, but it seems that it by defaul...

How to get ELMAH to include session values?

NOTE: I know the various reasons to avoid using the session, but this is a project I've inherited, so please skip that part of any replies :) Since it's a solved problem, I'm hoping someone can point to an ELMAH patch/branch/fork that includes logging session data rather than reinventing the wheel. One weird thing is an older post from...

Log errors in EventLog using ELMAH

I am using ELMAH to log errors in my asp.net MVC(C#) application. I am able to log errors in xml or database. How to log errors to the eventlog using ELMAH? ...

Limiting the Number of Emails Sent By Elmah

Does anyone know of a good way to limit the number of emails sent by Elmah during a time period like you can with Health Monitoring? I want to be able to limit the emails for each error from each page to only an email once an hour or so for that particular error and page. Looking at the elmah documentation it looks like using: void Er...

ASP.NET MVC + Castle ActiveRecord + elmah on Mono 2.6 on windows 7

I am trying to get xsp2 to run my asp.net mvc application, but I get the attached error message with no debug information. Nothing useful is produced if I run xsp2 with --verbose. The app runs fine under IIS on Windows Vista and Windows 7 and VS's built in webserver. I know others have had success with this, so I'm hoping that I just...

ELMAH.axd is browsable but will never log any of my errors?

I have it all set up and I can browse to /elmah.axd but I have been causing all these errors and it won't log any of them, it just says 'no errors logged'... what the heck did I do wrong? Here is the stuff I have added to my web.config: <configSections> <sectionGroup name="elmah"> <section name="security" requirePermissi...

Show a nice error view in ASP.NET MVC and still cause ELMAH to send a message

I'm using the filter from MvcContrib which causes nice error pages, my own views, to be shown when an error occurs. The problem is that when that happens, ELMAH doesn't send me an email about the problem and I still would like to know that something went wrong. It seems the key is in ExceptionContext's exceptionHandled. When set to true...

Elmah reporting unwanted 404 errors

I am using Elmah for logging in a ASP.NET MVC project and I am recieving lots of 404 errors for a path /prx2.php which in turn is passing a hash as a querystring param. I assume this is a scanner trying to find vulnerabilities. Because I am not running PHP I am safe! However I would like to stop ELmah reporting this error. Whats the be...

Accessing Elmah.axd with SqlErrorLog in SharePoint without adding user to db

I have installed/configured Elmah on my personal SharePoint dev environment and everything works great since I'm logged in as admin, etc. I am using the MS Sql Server Error Log. (I am also using log4net to handle DEBUG/INFO/etc level logging and log statements are also stored in the db, in the same table as ELMAH's.) However, on the a...

Elmah does not log any error message

Ok, I do not know why Elmah is not logging any errors while deployed on Windows Azure. Another thing is that it used to work before. The environment is the same. using SqlErrorLog on Sql Azure Sql Azure sharing the same database as the main site. I did not use a separate database so I can use the same connection string. building off t...

what part of web.config do i insert the elmah tag?

I want to write this <elmah> <errorlog type="Elmah.XmlFilerErrorLog, Elmah" logPath="~/App_Data" /> </elmah> or <elmah> <errorLog type="Elmah.SQLiteErrorLog, Elmah" logPath="~/App_Data" /> </elmah> however every place i tried putting this tag in i get an Unrecognized configuration section elmah. error. I found this question h...

elmah: exceptions without HttpContext?

I spawn a thread on Application_Start and would like to log exceptions. There is not Context/HttpContext/HttpContext.Current, so how might i get it to log? ATM it does not catch any exception in my threads and if i write ErrorSignal.FromCurrentContext().Raise(ex); i get an error about context cannot be null. Maybe i can create a dummy ...