Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error-reporting framework for .net

is there an error-reporting-framework you would suggest for use in .net. I need possibilities like e-mail-reporting with fileappending to e-mail. The user should have the possibility to add information to the report and also should have the possibility to remove report-files, i.e. if they contains privacy-critical data. There also should be a possibility of taking an automated screenshot. The needed framework should also include error-reporting guis. It should give me the possibility to create own guis for error-reporting.

I already use log4net, but there it isn't possible, as far as i know, to show a gui for error-reporting to the user.

Would be nice if there are any advices,

Greetings, Martin

like image 784
martin Avatar asked Dec 15 '09 08:12

martin


People also ask

What should I do if I get an error with NET Framework?

If everything works, the error is fixed. If you still see a .NET Framework error during or after the repair: Follow the steps from Microsoft to uninstall .NET Framework. Then reinstall .NET Framework 4.5 (or later). If you get an error when uninstalling or reinstalling .NET Framework, reach out to an IT professional or Microsoft.

How do I repair a corrupt version of the NET Framework?

If Microsoft .NET Framework 4.5 (or later) is on the list, repair it: In the Programs and Features window, select Microsoft .NET Framework 4.5 (or later). Then select Uninstall/Change. Select Repair and then select Next. Follow the on-screen instructions. When the repair finishes, restart your computer.

What's the best way to log errors in ASP NET?

Take a peek at Elmah (Error Logging Modules and Handlers) - 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.

How do I uninstall the NET Framework?

Open the Windows Start menu. Type "Control Panel" into the search and open Control Panel. Select Uninstall a Program. Don't worry, you aren't uninstalling anything. Select Turn Windows features on or off. Find .NET Framework on the list. Check the settings for both .NET Framework 3.5 SP1 and .NET Framework 4.5 (or later).


2 Answers

Have you tried Elmah? It does all the error handling elements you are talking of. You might look at Trac for the bug-tacking bits you want.

Kindness,

Dan

like image 85
Daniel Elliott Avatar answered Oct 07 '22 21:10

Daniel Elliott


I am familiar with the "Microsoft Enterprise Library Logging Block" and "Log4Net" and both of these fit into your requirements (having multiple log listeners) Here is a page that compares these two: http://weblogs.asp.net/lorenh/archive/2005/02/18/376191.aspx

like image 21
A9S6 Avatar answered Oct 07 '22 22:10

A9S6