472,374 Members | 1,133 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,374 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 3839
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...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.
0
DizelArs
by: DizelArs | last post by:
Hi all) Faced with a problem, element.click() event doesn't work in Safari browser. Tried various tricks like emulating touch event through a function: let clickEvent = new Event('click', {...

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.