Exception Logging


Author
Message
Keith Courneyea
Keith Courneyea
StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)
Group: Forum Members
Posts: 11, Visits: 196
Options to log exceptions

  • To a table
  • To a file
  • To the event log
  • Also to any of the above, with an associated email.

Keith

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
You can do this yourself and is in fact what we do in our medical system.  If we log it to a table, you may want to add additional information and us doing this would force you to follow our structure.  Just add your code to the UnhandledExceptionFound event in the Appmain.vb or program.cs file.  We even take a screen shot so we can see what is going on.  StrataFrame has a class that allows you to take screen shots:

MicroFour.StrataFrame.Tools.ScreenCapture.CaptureScreen().Save("c:\MyScreen.jpg", System.Drawing.Imaging.ImageFormat.Jpeg)

This is not the first time this has been requested and we have started to implement this several times.  The problem is that most people want different types of information aside from the expcetion to be saved.  So for now, you at least have a solution. 

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Has anyone used the MS logging application block (from the Enterprise Library for .NET) with SF? How does it work?
Keith Courneyea
Keith Courneyea
StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)StrataFrame Beginner (11 reputation)
Group: Forum Members
Posts: 11, Visits: 196
Thanks Trent, that'll work just fine.
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Glad to help Smile
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search