I am having issues with a small application that I have written where it is randomly crashing out without any major error. I only get the 'Do you want to send this information....' error pop up, but I don't get any error detail. I have checked the event viewer and have found the following entry everytime my application crashes:
EventType clr20r3, P1 dm_update.exe, P2 1.0.0.0, P3 525748d0, P4 system.drawing, P5 2.0.0.0, P6 506bef25, P7 15e, P8 17, P9 system.invalidoperationexception, P10 NIL.
I have added logging to all of my try,catch statements, but for some reason, my application doesn't seem to push anything into these catch areas.
The only error I've successfully managed to catch in my logs is:
The object is currently in use elsewhere
But I have no idea what this is referring to. When I run this application in debug mode on my development PC, I can't get the application to fall over, but when it runs standalone on a client PC, I keep getting this random crash.
Is there anyway I can implement a better method of catching this error? Any advice appreciated.