Solved

ObjectDisposedException error

Posted on 2013-12-10
3
230 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 74

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

760 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

21 Experts available now in Live!

Get 1:1 Help Now