D
DanielG
Hi,
We are experiencing an intermittent problem that is causing our
CompactFramework application to crash.
Every 30 seconds we poll a web server asynchronously using
HttpWebRequest.BeginGetResponse(). Periodically (up to days apart),
the app will crash out to the generic unhandled exception screen.
Clicking details it says:
HelloWorld.exe
ObjectDisposedException
System.Net.Sockets.Socket
Socket::throwIfDisposed+0x19
Socket:oll+0x6
Connection::SendRequest+0x26
WorkItem::doWork+0x36
Timer::ring+0x59
This is despite putting error handling and logging in every method.
The internet connection is over GPRS so it's possible that it's not
100% reliable.
Suspecting that this might be the "Race Condition:
ObjectDisposedException when exiting async client" issue resolved in
the SP3 for Compact Framework
[http://blogs.msdn.com/onoj/articles/178293.aspx] we downloaded and
installed the beta. Still no joy.
If anyone has any suggestions as to how to resolve this problem, they
would be greatly appreciated.
Cheers
We are experiencing an intermittent problem that is causing our
CompactFramework application to crash.
Every 30 seconds we poll a web server asynchronously using
HttpWebRequest.BeginGetResponse(). Periodically (up to days apart),
the app will crash out to the generic unhandled exception screen.
Clicking details it says:
HelloWorld.exe
ObjectDisposedException
System.Net.Sockets.Socket
Socket::throwIfDisposed+0x19
Socket:oll+0x6
Connection::SendRequest+0x26
WorkItem::doWork+0x36
Timer::ring+0x59
This is despite putting error handling and logging in every method.
The internet connection is over GPRS so it's possible that it's not
100% reliable.
Suspecting that this might be the "Race Condition:
ObjectDisposedException when exiting async client" issue resolved in
the SP3 for Compact Framework
[http://blogs.msdn.com/onoj/articles/178293.aspx] we downloaded and
installed the beta. Still no joy.
If anyone has any suggestions as to how to resolve this problem, they
would be greatly appreciated.
Cheers