This project has moved. For the latest updates, please go here.

System.ObjectDisposedException

Jun 21, 2010 at 8:54 AM
We have a server app which has around 300 concurrent connections, it's a fairly busy app. After about 1-3 hours of running with no issues it crashes with the following message: (should be noted that the app continues to work but we're left with an unhandled windows message dialog which we can't close without closing the app) Description: Stopped working Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: server.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 4c1b40bb Problem Signature 04: System Problem Signature 05: 2.0.0.0 Problem Signature 06: 49cc5ec9 Problem Signature 07: 2be7 Problem Signature 08: a6 Problem Signature 09: System.ObjectDisposedException OS Version: 6.0.6002.2.2.0.1296.17 Locale ID: 2057 Read our privacy statement: http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409 Any ideas where this might be occuring and why it's happening? Much appreciated, Rob
Coordinator
Jun 21, 2010 at 2:09 PM

Hello, Rob -

An ObjectDisposedException is raised when code attempts to use an object that has already been disposed.

Are you able to capture a stack trace or minidump?

       -Steve

Jun 21, 2010 at 2:35 PM

Hi Steve, 

Can you recommend the best way to capture a stack trace or minidump? 

It's running on a production server so there is no easy way for us to capture where it's going wrong. 

 

Many thanks

Coordinator
Jun 21, 2010 at 7:07 PM

I recommend ProcDump: http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx

       -Steve