|
In a C# 2008 windows application, my initial install of the code obtained the message,
"Cannot access a disposed object.". This was valid at the time.
However now I corrected the problem in the code and reinstalled the corrected application. I am still getting the error message, "Cannot access a disposed object.".
Thus my question is once I reinstalled the corrected code why would I still be getting the message,
"Cannot access a disposed object."?
|
|
|
|
|
Reinstalling will have no effect. Your code is trying to access something that has been disposed. This is a bug in your code.
|
|
|
|
|
classy_dog wrote: why would I still be getting the message,
Because despite what you think you did, you did not fix it.
Some possibilities
- It is a different object, so a different bug.
- You are still running the old software (you didn't install the new stuff.)
- You didn't actually fix the bug.
|
|
|
|