473,748 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.ObjectDi sposedException - REALLY NEED HELP !

Hi !

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

The only information available are those given by the httpmodule treating
the unhandledexcept ion 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 :

UnhandledExcept ion logged by UnhandledExcept ionModule.dll:

appId=/LM/W3SVC/1984782886/Root

type=System.Obj ectDisposedExce ption

message=Le handle sécurisé a été fermé

stack=
à System.Net.Unsa feNclNativeMeth ods.OSSOCK.shut down(SafeCloseS ocket
socketHandle, Int32 how)
à System.Net.Sock ets.Socket.Shut down(SocketShut down 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***********@o dysseos.net
Dec 4 '07 #1
2 3941
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.ObjectDi sposedException .

The only information available are those given by the httpmodule treating
the unhandledexcept ion 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 :

UnhandledExcept ion logged by UnhandledExcept ionModule.dll:

appId=/LM/W3SVC/1984782886/Root

type=System.Obj ectDisposedExce ption

message=Le handle sécurisé a été fermé

stack=
Ã* System.Net.Unsa feNclNativeMeth ods.OSSOCK.shut down(SafeCloseS ocket
socketHandle, Int32 how)
Ã* System.Net.Sock ets.Socket.Shut down(SocketShut down 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***********@o dysseos.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************ *******@discuss ions.microsoft. coma écrit dans le message de
news: F0************* *************** **...icrosof t.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.ObjectD isposedExceptio n.

The only information available are those given by the httpmodule treating
the unhandledexcept ion 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 :

UnhandledExcep tion logged by UnhandledExcept ionModule.dll:

appId=/LM/W3SVC/1984782886/Root

type=System.Ob jectDisposedExc eption

message=Le handle sécurisé a été fermé

stack=
à System.Net.Unsa feNclNativeMeth ods.OSSOCK.shut down(SafeCloseS ocket
socketHandle , Int32 how)
à System.Net.Sock ets.Socket.Shut down(SocketShut down 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***********@o dysseos.net

Dec 4 '07 #3

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

Similar topics

3
3578
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 VB.NET (meaning they understand the .NET Framwork, how to use the IDE, the classes and components available, etc.) then would they really need to "learn" C#? I have done some coding in C#, I wrote an entire app in it, but I use VB.NET whe...
0
3785
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 ad-infinitum). So can you put a try catch handler in the Disconnect_Click handler to trap the exception so you can, say, write the exception yttace out to a file. You need to know which obejct is generating the exception, whether it is one of your Windows Forms...
3
1938
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 to attributes in tags (think Style tag -> Style object). The problem that I am chasing is: Html side:
0
2598
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 information: Cannot access a disposed object named "System.Net.Sockets.NetworkStream". We are making a webmethod call that gets back a simple ID
4
3434
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 I get this exception:
3
8750
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 ExportDialog(); export.Show();
22
9253
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. I'm sure the problem is the way i'm using the sendmessage API, the return string and the lParam return 0....is anybody have a clue? any sendmessage api expert here? public static extern Int32 FindWindow(String lpClassName,String
0
3062
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 display the forms f1,f2 and f3.If first checkbox is checked then it displays the f1 form.Similarly for f2 and f3 also.I kept all this code in the display button click event.In f1.vb,f2.vb and f3.vb I added back and next buttons. I wrote some code to...
5
4977
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 exception. An exception of type 'System.ObjectDisposedException' occurred in System.Windows.Forms.dll but was not handled in user code Additional information: Cannot access a disposed object.
0
8995
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9378
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9331
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9253
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8250
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6798
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6077
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3316
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.