473,327 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Handling application initialization errors

Hi,

a lot of times someone installs my aplication and gets an
application initialization error, is there a method to intercept this
and give more details as to whats failed ?

obviously the handler cant be part of the c# .net application that is giving
the initialising error as its probably .net that isnt installed or setup
properly,
or it might be missing another dll.

thanks

Colin =^.^=
Mar 8 '08 #1
2 1322
On 8 Mar, 13:34, "colin" <colin.ro...@ntworld.NOSPAM.comwrote:
Hi,

a lot of times someone installs my aplication and gets an
application initialization error, is there a method to intercept this
and give more details as to whats failed ?

obviously the handler cant be part of the c# .net application that is giving
the initialising error as its probably .net that isnt installed or setup
properly,
or it might be missing another dll.

thanks

Colin =^.^=
is the error written to the system event log?

Ollie Riches
Mar 8 '08 #2
I dont know, thats actually a good question though,
it could provide some usefull information,
but even if it does it doesnt look very good if it just falls over with
a rather cryptic message, it would still require them contacting me
and me asking them to look, it would be preferable to
give a message on the screen when it failes initialization
stating that it couldnt find .net or some other dll or
that it isnt installed correctly

thanks
Colin
"Ollie Riches" <ol**********@btinternet.comwrote in message
news:bd**********************************@e60g2000 hsh.googlegroups.com...
On 8 Mar, 13:34, "colin" <colin.ro...@ntworld.NOSPAM.comwrote:
>Hi,

a lot of times someone installs my aplication and gets an
application initialization error, is there a method to intercept this
and give more details as to whats failed ?

obviously the handler cant be part of the c# .net application that is
giving
the initialising error as its probably .net that isnt installed or setup
properly,
or it might be missing another dll.

thanks

Colin =^.^=

is the error written to the system event log?

Ollie Riches

Mar 8 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Tony Johansson | last post by:
Hello! I'm reading in a book about C++ and there is something that I want to ask you about. It says "since the constructor does not return any value, the only way to handle errors that occur...
12
by: Christian Christmann | last post by:
Hi, assert and error handling can be used for similar purposes. When should one use assert instead of try/catch and in which cases the error handling is preferable? I've read somewhere that...
4
by: aaj | last post by:
Hi all I have an automated application, that runs in the middle of the night. If certain 'non system' errors occur (things like malformed files, missing files etc..), I send an automatic Email...
4
by: Al Williams | last post by:
Hi, I have error handling in place throughout my application. I also start the application wrapped in error handling code to catch any unexpected exceptions (i.e. exceptions that occur where I...
5
by: csgraham74 | last post by:
Hi guys, Basically i have been developing in dotnet for a couple of years but ive had a few issues in regards to error handling. For example - I have a class that i call passing in a stored...
35
by: jeffc226 | last post by:
I'm interested in an idiom for handling errors in functions without using traditional nested ifs, because I think that can be very awkward and difficult to maintain, when the number of error checks...
41
by: Zytan | last post by:
Ok something simple like int.Parse(string) can throw these exceptions: ArgumentNullException, FormatException, OverflowException I don't want my program to just crash on an exception, so I must...
2
by: Axel Gallus | last post by:
I am desperately looking for some resources dealing with error handling in c++. Don't get me wrong.... I have very detailed knowledge of exceptions, assertions and invariants, but what is...
2
by: Omar Abid | last post by:
Reason of this project: Error handling is one of the most difficult thing that may afford a programmer. It isn't as easy as you think and handling errors in a program some time can make errors...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.