Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2006

Tip: Looking for answers? Try searching our database.

Troubleshoot Process id Errors

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
G Hustis - 24 Jul 2006 16:36 GMT
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
Laura T - 24 Jul 2006 17:16 GMT
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.

> 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
[quoted text clipped - 10 lines]
> Thanks
> Gary
G Hustis - 25 Jul 2006 19:28 GMT
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

> Catch the unhandled exception to get the inner reason and possibly the call
> stack.
[quoted text clipped - 16 lines]
> > Thanks
> > Gary
Laura T - 27 Jul 2006 08:50 GMT
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.

> Now a basic question, How would I go about using the
> Application.ThreadException event as you suggest? Would I have to
[quoted text clipped - 32 lines]
>> > Thanks
>> > Gary
G Hustis - 28 Jul 2006 15:55 GMT
Thanks i'll give this a try

> Just once, in the Main for example.
>
[quoted text clipped - 41 lines]
> >> > Thanks
> >> > Gary

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.