Net Runtime 2.0 Error System.objectdisposedexception
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up System.ObjectDisposedException up vote 4 down vote favorite I am running some windows application and it's working for few days then stop working with no error. Now i found in event viewer this error. Maybe anyone have any idea what can cause this error? Event Type: Error Event Source: .NET Runtime 2.0 Error Reporting Event Category: None Event ID: 5000 Date: 30.10.2010 Time: 21:58:57 User: N/A Computer: SERVER-PROD Description: EventType clr20r3, P1 program.exe, P2 1.0.0.0, P3 4cca7ed1, P4 mscorlib, P5 2.0.0.0, P6 4be90358, P7 1164, P8 0, P9 system.objectdisposedexception, P10 NIL. c# share|improve this question edited Nov 1 '10 at 15:23 abatishchev 57.1k56215354 asked Nov 1 '10 at 12:10 senzacionale 7,20338129244 1 What's the stack trace? –SLaks Nov 1 '10 at 12:11 @SLaks: You dont get one with builtin error reporting. –leppie Nov 1 '10 at 12:13 2 I'll take a wild guess and say that you are using sockets and one of them got disconnected and disposed while you have pending asynchronous reads and no error handling wrapping those reads. Want better help? Tell us more about what your application is doing. –jgauffin Nov 1 '10 at 12:16 add a comment| 2 Answers 2 active oldest votes up vote 11 down vote accepted ObjectDisp
360 games PC games Windows games Windows phone games Entertainment All Entertainment Movies & TV Music Business & Education Business Students & educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet http://stackoverflow.com/questions/4068726/system-objectdisposedexception Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Lumia All https://support.microsoft.com/en-us/kb/911816 Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
your question and get tips & solutions from a community of 418,595 IT Pros & Developers. It's quick & easy. .NET Runtime 2.0 Error https://bytes.com/topic/asp-net/answers/743338-net-runtime-2-0-error-id-event-5000-a - ID Event 5000 P: n/a Bernard Borsu Hi ! I have a http://www.thecodingforums.com/threads/net-runtime-2-0-error-id-event-5000.556346/ big problem with a asp.net 2.0 website. I've just upgrade it from asp.net 1.1. In this previous version, no problem at all. Now, i've a recursive error .NET Runtime 2.0 Error - ID Event 5000. Here ise the description in the Application log : EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d6968e, net runtime P4 system, P5 2.0.0.0, P6 461ef191, P7 2c19, P8 36, P9 system.objectdisposedexception, P10 NIL. Pour plus d'informations, consultez le centre Aide et support à l'adresse http://go.microsoft.com/fwlink/events.asp. I've placed a httpmodule in the website to receive more information about the error, as described in the Microsoft KB : http://support.microsoft.com/kb/911816/en-us Here the description of the error given by this module : Type de l'événement : Erreur Source de net runtime 2.0 l'événement : ASP.NET 2.0.50727.0 Catégorie de l'événement : Aucun ID de l'événement : 0 Date : 30/11/2007 Heure : 15:55:08 Utilisateur : N/A Ordinateur : T04 Description : La description pour l'ID d'événement ( 0 ) dans la source (ASP.NET 2.0.50727.0) est introuvable. L'ordinateur local n'a peut-être pas les informations de Registre ou les librairies requises pour afficher les messages émanant d'un ordinateur distant. Vous pourrez peut-être utiliser l'option /AUXSOURCE= pour récupérer cette description. Reportez-vous aux rubriques Aide et support pour plus de détails. Les informations suivantes font partie de l'événement : UnhandledException logged by UnhandledExceptionModule.dll: appId=/LM/W3SVC/2112757039/Root type=System.ObjectDisposedException message=Le handle sécurisé a été fermé stack= à System.Net.UnsafeNclNativeMethods.OSSOCK.shutdown( SafeCloseSocket socketHandle, Int32 how) à System.Net.Sockets.Socket.Shutdown(SocketShutdown how) à ?.Finalize() Does anyone know what to do to find where is the problem ? I can't find the page or piece of code responsible for this error. Thanks in advance for any help ! -- Bernard be***********@odysseos.net Nov 30 '07 #1 Post Reply Share this Question 4 Replies P: n/a =?Utf-8?B?YnJ1Y2UgYmFya2VyIChzcWx3b3JrLmNvbSk=?= deploy a debug version to get a stack trace -- bruce (sqlwork.com) "Bernard Borsu" wrote: Hi ! I have a big problem with a asp.net 2.0 website. I've
website. I've just upgrade it from asp.net 1.1. In this previous version, no problem at all. Now, i've a recursive error .NET Runtime 2.0 Error - ID Event 5000. Here ise the description in the Application log : EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d6968e, P4 system, P5 2.0.0.0, P6 461ef191, P7 2c19, P8 36, P9 system.objectdisposedexception, P10 NIL. Pour plus d'informations, consultez le centre Aide et support à l'adresse http://go.microsoft.com/fwlink/events.asp. I've placed a httpmodule in the website to receive more information about the error, as described in the Microsoft KB : http://support.microsoft.com/kb/911816/en-us Here the description of the error given by this module : Type de l'événement : Erreur Source de l'événement : ASP.NET 2.0.50727.0 Catégorie de l'événement : Aucun ID de l'événement : 0 Date : 30/11/2007 Heure : 15:55:08 Utilisateur : N/A Ordinateur : T04 Description : La description pour l'ID d'événement ( 0 ) dans la source (ASP.NET 2.0.50727.0) est introuvable. L'ordinateur local n'a peut-être pas les informations de Registre ou les librairies requises pour afficher les messages émanant d'un ordinateur distant. Vous pourrez peut-être utiliser l'option /AUXSOURCE= pour récupérer cette description. Reportez-vous aux rubriques Aide et support pour plus de détails. Les informations suivantes font partie de l'événement : UnhandledException logged by UnhandledExceptionModule.dll: appId=/LM/W3SVC/2112757039/Root type=System.ObjectDisposedException message=Le handle sécurisé a été fermé stack= à System.Net.UnsafeNclNativeMethods.OSSOCK.shutdown(SafeCloseSocket socketHandle, Int32 how) à System.Net.Sockets.Socket.Shutdown(SocketShutdown how) à ?.Finalize() Does anyone know what to do to find where is the problem ? I can't find the page or piece of code responsible for this error. Thanks in advance for any help ! -- Bernard Bernard Borsu, Nov 30, 2007 #1 Advertisements bruce barker (sqlwork.com) Guest deploy a debug version to get a stack trace -- bruce (sqlwork.com) "Bernard Borsu" wrote: > Hi ! > > I have a big problem with a asp.net 2.0 website. I've just upgrade it from > asp.net 1.1. In this previous version, no problem at all. > > Now, i've a rec