473,386 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

System.ObjectDisposedException - REALLY NEED HELP !

Hi !

My website breakdown at least 20 times per day with a
System.ObjectDisposedException.

The only information available are those given by the httpmodule treating
the unhandledexception causing breakdown. Here are these information :

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 : 4/12/2007
Heure : 13:36:00
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/1984782886/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()

There is no trace from my webapplication in the stacktrace. So it's
impossible for me to find where is located the problem in my webapplication.

Ant idea to locate the origin of the problem would be great !

--
Bernard
be***********@odysseos.net
Dec 4 '07 #1
2 3919
deploy a debug build, and you will get a stack trace.

-- bruce (sqlwork.com)
"Bernard Borsu" wrote:
Hi !

My website breakdown at least 20 times per day with a
System.ObjectDisposedException.

The only information available are those given by the httpmodule treating
the unhandledexception causing breakdown. Here are these information :

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 : 4/12/2007
Heure : 13:36:00
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/1984782886/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()

There is no trace from my webapplication in the stacktrace. So it's
impossible for me to find where is located the problem in my webapplication.

Ant idea to locate the origin of the problem would be great !

--
Bernard
be***********@odysseos.net
Dec 4 '07 #2
Hi !

I've think i've already deployed a debug version. In VS2005, i've selected
debug in the configuration manager before generating my web application. All
pdb files are present on the bin directory of the website.

Did i missed something in generating a debug version ?

"bruce barker (sqlwork.com)"
<br*******************@discussions.microsoft.com a écrit dans le message de
news: F0**********************************@microsoft.com...
deploy a debug build, and you will get a stack trace.

-- bruce (sqlwork.com)
"Bernard Borsu" wrote:
>Hi !

My website breakdown at least 20 times per day with a
System.ObjectDisposedException.

The only information available are those given by the httpmodule treating
the unhandledexception causing breakdown. Here are these information :

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 : 4/12/2007
Heure : 13:36:00
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/1984782886/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()

There is no trace from my webapplication in the stacktrace. So it's
impossible for me to find where is located the problem in my
webapplication.

Ant idea to locate the origin of the problem would be great !

--
Bernard
be***********@odysseos.net

Dec 4 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Chris | last post by:
Wait.. before you flame.. If someone can program in Java, or Javascript, or C, or (insert your language here that uses basically the same syntax as C#), and that person knew how to program in...
0
by: Richard Blewett [DevelopMentor] | last post by:
In theory there is nothing wrong with the Windows Forms part of your application (using your code as a start I mocked up the app and can happily press the connect and disconnect buttons...
3
by: Sky Sigal | last post by:
I coming unglued... really need some help. 3 days chasing my tail all over MSDN's documentation ...and I'm getting nowhere. I have a problem with TypeConverters and storage of expandableobjects...
0
by: Naveen | last post by:
Hello all, Environment - Winforms app calling into a webservice Exception returned - "A first chance exception of type 'System.ObjectDisposedException' occurred in system.dll" Additional...
4
by: Pipo | last post by:
The problem: I create a very simple custom control: public class cLabel : System.Web.UI.WebControls.Label { } I place the cLabel in a user control. When I place the user control on a page...
3
by: Martin Pöpping | last post by:
Hello, I´ve a problem with a small line of code. For my Windows Application I designed a form for exporting data into xml files. I´m opening the dialog with: ExportDialog export = new...
22
by: SQACSharp | last post by:
I'm trying to get the control name of an editbox in another window. The following code set the value "MyPassword" in the password EditBox but it fail to return the control name of the EditBox. ...
0
by: sdanda | last post by:
Hai i am working on vb.net. In my application I created four forms.Those are first.vb,f1.vb,f2.vb and f3.vb In firstvb I added 3 checkboxes and a "display" button.The 3 checkboxes are used to...
5
by: Brian | last post by:
Hello all. I have a simple application that I was using to test and understand the System.Timers.Timer and noticed that when I stop the application, on occasion, it throughs the following...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.