Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

.NET Runtime 2.0 Error - ID Event 5000

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bernard Borsu - 30 Nov 2007 15:39 GMT
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 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 !

Signature

Bernard
bernard.borsu@odysseos.net

bruce barker (sqlwork.com) - 30 Nov 2007 17:29 GMT
deploy a debug version to get a stack trace

-- bruce (sqlwork.com)

> Hi !
>
[quoted text clipped - 53 lines]
>
> Thanks in advance for any help !
Bernard Borsu - 03 Dec 2007 16:56 GMT
Hi !

Thanks for yout suggestion, but even with a debug version, i've no more
information available on the stack trace.

Allways the same message an my website break down more than 20 times per
day.

Any other idea would be great !

> deploy a debug version to get a stack trace
>
[quoted text clipped - 62 lines]
>>
>> Thanks in advance for any help !
Peter Bromberg [C# MVP] - 30 Nov 2007 17:34 GMT
In .NET 2.0, an unhandled exception cause the AppDomain to unload and the app
to recycle in IIS.  You need to find out what the unhandled exception is.  
This may provide some help:
http://www.eggheadcafe.com/articles/20060305.asp
--Peter
"Inside every large program, there is a small program trying to get out."
http://www.eggheadcafe.com
http://petesbloggerama.blogspot.com
http://www.blogmetafinder.com

> Hi !
>
[quoted text clipped - 53 lines]
>
> Thanks in advance for any help !
Bernard Borsu - 30 Nov 2007 23:20 GMT
Hi !

Thanks for this response.

I've already tried this piece of code to create the httpmodule. I've just
wrote it in vb but the only result i've received is this :

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()

And there no reference to my website source !

> In .NET 2.0, an unhandled exception cause the AppDomain to unload and the
> app
[quoted text clipped - 69 lines]
>>
>> Thanks in advance for any help !

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.