Solved

ObjectDisposedException error

Posted on 2013-12-10
3
231 Views
Last Modified: 2013-12-20
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
Comment
Question by:JDL129
  • 2
3 Comments
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 250 total points
ID: 39711210
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
 

Author Comment

by:JDL129
ID: 39713917
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
 

Author Closing Comment

by:JDL129
ID: 39733217
Thanks kaufmed!!
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now