List Info

Thread: Where do you write your error when all else fails ?




Where do you write your error when all else fails ?
user name
2006-08-29 16:37:09
Text file and\or you can auto email it, which is what we
do.



-----Original Message-----
From: Discussion of development on the .NET platform using
any managed
language [mailtoOTNET-CL
RDISCUSS.DEVELOP.COM]On Behalf Of Steve W
Sent: Tuesday, August 29, 2006 12:30 PM
To: DOTNET-CLRDISCUSS.DEVELOP.COM
Subject: [DOTNET-CLR] Where do you write your error when all
else fails
?


I have an error handling mechanism in a windows service that
does this :

1.  Try and write error to db - catch any exception raised
2.  If exception raised try and write to application log

If 2 raises an exception where should I try and write the
error information
next ?

I was thinking of a text file in the user's temporary
directory - does
anyone have any better suggestions ?

Thanks

Steve

===================================
This list is hosted by DevelopMentor.  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com


===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Where do you write your error when all else fails ?
user name
2006-08-29 16:47:04
I take a minidump (well I generally do this anyways) ... It
gives you
alot more information than just the exception that occurred.
Afterwords I commit suicide in the app.

Cheers,

Greg

On 8/29/06, Greg Robinson <gregcds-am.net> wrote:
> Text file and\or you can auto email it, which is what
we do.
>
>
>
> -----Original Message-----
> From: Discussion of development on the .NET platform
using any managed
> language [mailtoOTNET-CL
RDISCUSS.DEVELOP.COM]On Behalf Of Steve W
> Sent: Tuesday, August 29, 2006 12:30 PM
> To: DOTNET-CLRDISCUSS.DEVELOP.COM
> Subject: [DOTNET-CLR] Where do you write your error
when all else fails
> ?
>
>
> I have an error handling mechanism in a windows service
that does this :
>
> 1.  Try and write error to db - catch any exception
raised
> 2.  If exception raised try and write to application
log
>
> If 2 raises an exception where should I try and write
the error information
> next ?
>
> I was thinking of a text file in the user's temporary
directory - does
> anyone have any better suggestions ?
>
> Thanks
>
> Steve
>
> ===================================
> This list is hosted by DevelopMentor.  http://www.develop.com
>
> View archives and manage your subscription(s) at http://discuss.develop.com

>
> ===================================
> This list is hosted by DevelopMentor(r)  http://www.develop.com
>
> View archives and manage your subscription(s) at http://discuss.develop.com

>

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Where do you write your error when all else fails ?
user name
2006-08-29 17:19:35
Greg,

Sorry to be ignorant but what do you mean by 'take a
minidump' ?

Thanks

Steve

-----Original Message-----
From: Discussion of development on the .NET platform using
any managed
language [mailtoOTNET-CL
RDISCUSS.DEVELOP.COM] On Behalf Of gregory young
Sent: 29 August 2006 17:47
To: DOTNET-CLRDISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-CLR] Where do you write your error when
all else fails
?

I take a minidump (well I generally do this anyways) ... It
gives you
alot more information than just the exception that occurred.
Afterwords I commit suicide in the app.

Cheers,

Greg

On 8/29/06, Greg Robinson <gregcds-am.net> wrote:
> Text file and\or you can auto email it, which is what
we do.
>
>
>
> -----Original Message-----
> From: Discussion of development on the .NET platform
using any managed
> language [mailtoOTNET-CL
RDISCUSS.DEVELOP.COM]On Behalf Of Steve W
> Sent: Tuesday, August 29, 2006 12:30 PM
> To: DOTNET-CLRDISCUSS.DEVELOP.COM
> Subject: [DOTNET-CLR] Where do you write your error
when all else fails
> ?
>
>
> I have an error handling mechanism in a windows service
that does this :
>
> 1.  Try and write error to db - catch any exception
raised
> 2.  If exception raised try and write to application
log
>
> If 2 raises an exception where should I try and write
the error
information
> next ?
>
> I was thinking of a text file in the user's temporary
directory - does
> anyone have any better suggestions ?
>
> Thanks
>
> Steve
>
> ===================================
> This list is hosted by DevelopMentor.  http://www.develop.com
>
> View archives and manage your subscription(s) at
http://discuss.develop.com

>
> ===================================
> This list is hosted by DevelopMentor(r)  http://www.develop.com
>
> View archives and manage your subscription(s) at
http://discuss.develop.com

>

===================================
This list is hosted by DevelopMentorR  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com


===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )