Click here to Skip to main content
15,919,341 members
Home / Discussions / C#
   

C#

 
GeneralRe: ObjectDisposedException Pin
George_George12-May-08 2:39
George_George12-May-08 2:39 
GeneralRe: ObjectDisposedException Pin
George_George12-May-08 2:44
George_George12-May-08 2:44 
GeneralRe: ObjectDisposedException Pin
N a v a n e e t h12-May-08 3:15
N a v a n e e t h12-May-08 3:15 
GeneralRe: ObjectDisposedException Pin
George_George12-May-08 18:47
George_George12-May-08 18:47 
GeneralRe: ObjectDisposedException Pin
N a v a n e e t h12-May-08 20:45
N a v a n e e t h12-May-08 20:45 
GeneralRe: ObjectDisposedException Pin
George_George12-May-08 20:59
George_George12-May-08 20:59 
GeneralRe: ObjectDisposedException Pin
N a v a n e e t h13-May-08 2:19
N a v a n e e t h13-May-08 2:19 
GeneralRe: ObjectDisposedException Pin
George_George13-May-08 2:47
George_George13-May-08 2:47 
Thanks N a v a n e e t h,


I totally agree with your analysis. Is it possible to add some code to monitor which process calls the Dispose method of HttpListener? I have checked my code is not invoking Dispose method explicitly.

My suspecisions,

1. Some code I used will be expanded by C# compiler, which contains Dispose method invocation -- even if I do not call it explicitly.

2. Some CLR internal threads call Dispose method, since the situation happens when the network environment is roaming, and clinet frequently disconnects from server (I am writing an Http server).

Any advice to make further analysis? Smile | :)


regards,
George
GeneralRe: ObjectDisposedException Pin
N a v a n e e t h13-May-08 18:53
N a v a n e e t h13-May-08 18:53 
GeneralRe: ObjectDisposedException Pin
George_George14-May-08 2:47
George_George14-May-08 2:47 
AnswerRe: ObjectDisposedException Pin
J4amieC12-May-08 2:23
J4amieC12-May-08 2:23 
GeneralRe: ObjectDisposedException Pin
George_George12-May-08 2:26
George_George12-May-08 2:26 
AnswerRe: ObjectDisposedException Pin
tgrt12-May-08 3:14
tgrt12-May-08 3:14 
GeneralRe: ObjectDisposedException Pin
George_George12-May-08 18:45
George_George12-May-08 18:45 
QuestionMultiple schema Pin
PaulaM12-May-08 1:57
PaulaM12-May-08 1:57 
QuestionHow do use windows media player with multi threads?????????????????????????????????? Pin
Member 175177312-May-08 1:40
Member 175177312-May-08 1:40 
AnswerRe: How do use windows media player with multi threads?????????????????????????????????? Pin
N a v a n e e t h12-May-08 2:17
N a v a n e e t h12-May-08 2:17 
QuestionImplement Depth First Search Pin
Syed Ali Raza12-May-08 1:36
Syed Ali Raza12-May-08 1:36 
Questionsolve this error Pin
salil_k_singh12-May-08 1:20
salil_k_singh12-May-08 1:20 
AnswerRe: solve this error Pin
Anthony Mushrow12-May-08 1:26
professionalAnthony Mushrow12-May-08 1:26 
AnswerRe: solve this error Pin
ScottM112-May-08 1:34
ScottM112-May-08 1:34 
QuestionStrongName Question Pin
William Ten Broek12-May-08 1:20
William Ten Broek12-May-08 1:20 
AnswerRe: StrongName Question Pin
tgrt12-May-08 3:52
tgrt12-May-08 3:52 
GeneralRe: StrongName Question Pin
William Ten Broek12-May-08 10:24
William Ten Broek12-May-08 10:24 
QuestionFile attributes Pin
ScottM112-May-08 0:44
ScottM112-May-08 0:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.