Home All Groups Group Topic Archive Search About

Troubleshoot Process id Errors

Author
24 Jul 2006 3:36 PM
G Hustis
We have a .Net application developed under FW 1.1 sp1. We run it under
Windows XP, Win 2000 Server & Pro & 2003 Server and it runs just fine. But on
one machine at one customer it will not run. Upon start up it throws this
error "Application has generated an exception that could not be handled.
Process id = 0x890(2192), Thread id = 0X1154(4436)"
The customer tells me that this machine is built exactly like another
machine (hardware & O/S, Win 2000 server) where it runs fine.
Customer has uninstalled & reinstalled the Framework as well as our app, to
no avail.
SO how do I go about figuring out what the real problem is to solve it?
Thanks
Gary

Author
24 Jul 2006 4:16 PM
Laura T
Catch the unhandled exception to get the inner reason and possibly the call
stack.
Application.ThreadException event might just do it.
The reasons for unhandled exceptions are very broad, from security to
resources.

Show quote
"G Hustis" <GHus***@discussions.microsoft.com> ha scritto nel messaggio
news:BE142286-190E-4967-A0AC-529AEFA9D219@microsoft.com...
> We have a .Net application developed under FW 1.1 sp1. We run it under
> Windows XP, Win 2000 Server & Pro & 2003 Server and it runs just fine. But
> on
> one machine at one customer it will not run. Upon start up it throws this
> error "Application has generated an exception that could not be handled.
> Process id = 0x890(2192), Thread id = 0X1154(4436)"
> The customer tells me that this machine is built exactly like another
> machine (hardware & O/S, Win 2000 server) where it runs fine.
> Customer has uninstalled & reinstalled the Framework as well as our app,
> to
> no avail.
> SO how do I go about figuring out what the real problem is to solve it?
> Thanks
> Gary
Author
25 Jul 2006 6:28 PM
G Hustis
Now a basic question, How would I go about using the
Application.ThreadException event as you suggest? Would I have to reference
it just once at the beginning of the app or throughout where ever there is a
possiblity of an error?
Since this box is not available to our development enviornment we would have
to deploy a new app with this in it.
Thanks

Show quote
"Laura T" wrote:

> Catch the unhandled exception to get the inner reason and possibly the call
> stack.
> Application.ThreadException event might just do it.
> The reasons for unhandled exceptions are very broad, from security to
> resources.
>
> "G Hustis" <GHus***@discussions.microsoft.com> ha scritto nel messaggio
> news:BE142286-190E-4967-A0AC-529AEFA9D219@microsoft.com...
> > We have a .Net application developed under FW 1.1 sp1. We run it under
> > Windows XP, Win 2000 Server & Pro & 2003 Server and it runs just fine. But
> > on
> > one machine at one customer it will not run. Upon start up it throws this
> > error "Application has generated an exception that could not be handled.
> > Process id = 0x890(2192), Thread id = 0X1154(4436)"
> > The customer tells me that this machine is built exactly like another
> > machine (hardware & O/S, Win 2000 server) where it runs fine.
> > Customer has uninstalled & reinstalled the Framework as well as our app,
> > to
> > no avail.
> > SO how do I go about figuring out what the real problem is to solve it?
> > Thanks
> > Gary
>
>
>
Author
27 Jul 2006 7:51 AM
Laura T
Just once, in the Main for example.

Application.ThreadException += new
ThreadExceptionEventHandler(Application_ThreadException);
// Load the form
Application.Run(new Form1());
Otherwise if you might want to attach a debugger (VS2005/WINDBG+SOS) in the
box.




Show quote
"G Hustis" <GHus***@discussions.microsoft.com> ha scritto nel messaggio
news:E2E9816A-65E8-48A4-9306-0AB72C8B0A36@microsoft.com...
> Now a basic question, How would I go about using the
> Application.ThreadException event as you suggest? Would I have to
> reference
> it just once at the beginning of the app or throughout where ever there is
> a
> possiblity of an error?
> Since this box is not available to our development enviornment we would
> have
> to deploy a new app with this in it.
> Thanks
>
> "Laura T" wrote:
>
>> Catch the unhandled exception to get the inner reason and possibly the
>> call
>> stack.
>> Application.ThreadException event might just do it.
>> The reasons for unhandled exceptions are very broad, from security to
>> resources.
>>
>> "G Hustis" <GHus***@discussions.microsoft.com> ha scritto nel messaggio
>> news:BE142286-190E-4967-A0AC-529AEFA9D219@microsoft.com...
>> > We have a .Net application developed under FW 1.1 sp1. We run it under
>> > Windows XP, Win 2000 Server & Pro & 2003 Server and it runs just fine.
>> > But
>> > on
>> > one machine at one customer it will not run. Upon start up it throws
>> > this
>> > error "Application has generated an exception that could not be
>> > handled.
>> > Process id = 0x890(2192), Thread id = 0X1154(4436)"
>> > The customer tells me that this machine is built exactly like another
>> > machine (hardware & O/S, Win 2000 server) where it runs fine.
>> > Customer has uninstalled & reinstalled the Framework as well as our
>> > app,
>> > to
>> > no avail.
>> > SO how do I go about figuring out what the real problem is to solve it?
>> > Thanks
>> > Gary
>>
>>
>>
Author
28 Jul 2006 2:55 PM
G Hustis
Thanks i'll give this a try

Show quote
"Laura T" wrote:

> Just once, in the Main for example.
>
> Application.ThreadException += new
> ThreadExceptionEventHandler(Application_ThreadException);
> // Load the form
> Application.Run(new Form1());
> Otherwise if you might want to attach a debugger (VS2005/WINDBG+SOS) in the
> box.
>
>
>
>
> "G Hustis" <GHus***@discussions.microsoft.com> ha scritto nel messaggio
> news:E2E9816A-65E8-48A4-9306-0AB72C8B0A36@microsoft.com...
> > Now a basic question, How would I go about using the
> > Application.ThreadException event as you suggest? Would I have to
> > reference
> > it just once at the beginning of the app or throughout where ever there is
> > a
> > possiblity of an error?
> > Since this box is not available to our development enviornment we would
> > have
> > to deploy a new app with this in it.
> > Thanks
> >
> > "Laura T" wrote:
> >
> >> Catch the unhandled exception to get the inner reason and possibly the
> >> call
> >> stack.
> >> Application.ThreadException event might just do it.
> >> The reasons for unhandled exceptions are very broad, from security to
> >> resources.
> >>
> >> "G Hustis" <GHus***@discussions.microsoft.com> ha scritto nel messaggio
> >> news:BE142286-190E-4967-A0AC-529AEFA9D219@microsoft.com...
> >> > We have a .Net application developed under FW 1.1 sp1. We run it under
> >> > Windows XP, Win 2000 Server & Pro & 2003 Server and it runs just fine.
> >> > But
> >> > on
> >> > one machine at one customer it will not run. Upon start up it throws
> >> > this
> >> > error "Application has generated an exception that could not be
> >> > handled.
> >> > Process id = 0x890(2192), Thread id = 0X1154(4436)"
> >> > The customer tells me that this machine is built exactly like another
> >> > machine (hardware & O/S, Win 2000 server) where it runs fine.
> >> > Customer has uninstalled & reinstalled the Framework as well as our
> >> > app,
> >> > to
> >> > no avail.
> >> > SO how do I go about figuring out what the real problem is to solve it?
> >> > Thanks
> >> > Gary
> >>
> >>
> >>
>
>
>

AddThis Social Bookmark Button