• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 239
  • Last Modified:

ObjectDisposedException error

Hey guys!!

I am having problems with the above error.  The program runs on several computers including Windows 7 x64 and Windows XP x32.
However I just purchased a computer with Windows 7 x32 and when I run this program I get this error and most of the time it is when I move the mouse on the main form when the program first starts and after I log in.

How can I trouble shoot this error and what should I look for.

Thanks,
Jerry
0
JDL129
Asked:
JDL129
  • 2
1 Solution
 
käµfm³d 👽Commented:
Add in error handling and logging such that you can gain access to the stack trace to pin down where the error is occurring. You might look into handling the AppDomain.UnhandledException event.

Once you know where--at least which method is raising--the error is, you'll have a much smaller place to search.
0
 
JDL129Author Commented:
kaufmed!!  Thanks for the post!!

I copied the AppDomain code into my program but it doesn't hit it.  Could you possibly elaborate?

Thanks,
Jerry
0
 
JDL129Author Commented:
Thanks kaufmed!!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now