And we are back with the new Release V1.1.

 

Now You can log Exceptions to an MS Access Database :) How cool is that?

 

so how you do it? Just a simple line :)

 

C#

CatchThatException.LogErrorMSAccess(ee,Server.MapPath("~/LogDB.mdb"));

 

VB.NET

 

CatchThatException.LogErrorMSAccess(ee,Server.MapPath("~/LogDB.mdb"))

How cool is that? And you don't need to worry we already created the MS Access DB and you can download it easily with the DLL file.

 

Still we support writing exception to a txt file.

 

Examples:

 

C#

 

 try
            {
                Exception ex = new Exception();
                throw ex;
            }
            catch (Exception ee)
            {
                CatchThatException.LogErrorTxt(ee,"c:\\log.txt"); //Here you can write exceptions to a txt file
//Just pass the location of the physical location or try Server.MapPath if you are using Asp.net
                CatchThatException.LogErrorMSAccess(ee, Server.MapPath("~/LogDB.mdb"));//Access logging
            }

 

VB.NET

 

Try
	Dim ex As New Exception()
	Throw ex
Catch ee As Exception
	CatchThatException.LogErrorTxt(ee, "c:\log.txt") 'Here you can write exceptions to a txt file
'Just pass the location of the physical location or try Server.MapPath if you are using Asp.net		
	CatchThatException.LogErrorMSAccess(ee, Server.MapPath("~/LogDB.mdb")) 'Access logging
End Try

Last edited Oct 2, 2012 at 10:55 AM by amrswalhadp, version 1

Comments

No comments yet.