Re: Running C# program by Richard
Richard
Fri Sep 05 09:00:14 CDT 2003
What does the app do? Is it a console, service or a Forms app? Is there any
indication of the type of the .NET exception being thrown? Is there any
events in the event log?
In a console app I would put a try/catch around the code in the entry point
Main and print the exception details to the command line. For a service put
the try/catch in the main service rountine and log the exception details to
the event log. For a Forms app, add a thread exception handler and use that
to log the exception details to the event log.
Furthermore, I would put Debug.WriteLine messages in the app at appropriate
points and monitor the output debug stream.
Richard
--
my email evpuneqt@zicf.bet is encrypted with ROT13 (www.rot13.org)
lingfang zhen wrote:
> Ok, after installing .Net Framework redistribution 1.1,
> my application still wouldn't run. A dialogbox - Common
> Language Runtime Debugging Services is showing with:
>
> Appliction has generated an exception that could not be
> handled
>
> Process id=0xb30(2864), Thread id=0xab0(2736)
>
>
> The application is running fine on my development PC.
> What could be wrong?