Exception Handling in Compact Framework

Posted by Venkatesh under C# on 4/13/2012 | Points: 10 | Views : 2398 | Status : [Member] | Replies : 0
Hi,

I have developed one Smart Device application. when i run this project in HHT i am getting one exception
"An unexpected error occured in application. Select Quit and then restart this program, or select Details for more information."
This project we have used Webservices. If i click on Details button in the exception dialog box.
It is showing the below exception.
ObjectDisposedException

at System.Threading.Timer.throwIfDisposed()
at
System.Threading.Timer.Change(UInt32 due Time, UInt32 period)
at
System.Threading.Timer.Change(Int32 dueTime,Int32 period)
at
System.net.HttpWebRequest.ConnectionClient.Read(Byte[]data,Int32 offset,Int 32 length)
at
System.Net.HttpReadStream.NetworkRead(Byte[] data,Int32 offset,Int32 length)
at
System.Net.ContentLengthReadStream.doRead*Byte[]data,Int32offset,Int32 length)
at
System.Net,HttpReadStream.ReadToDrain(Byte[]buffer,Int32 offset,Int32 length)
at
System.Net.HttpReadStream.doclose()
at
System.Net.ContentLengthReadStream.doClose()
at
System.Net.HttpReadStream.Finalize()

How to solve this exception.

Thanks,
Venkatesh.P




Responses

(No response found.)

Login to post response