C
C. Vollmer
Hi,
I got a new iPAQ with WM 2003. I installed SP2 and my application and
tried to run my app. It didn't work. I call a Webservice in my app and
every time I got a timeout. It finally worked when I disabled my proxy
in the settings of WM 2003 and then enabled it again. Strange enough.
But most strange was what happened when the proxy was disabled and I
told my app to use a proxy. I call my webservice and that doesn't work,
OK. I get a WebException with status "ConnectFailure". In that part I
threw a new exception with the WebException as InnerException. In the
calling class I catch that exception and show a messagebox. And in that
moment I get a ObjectDisposeException from System.Net.Sockets.Socket! Why??
Here is some source:
....
//Call webservice
....
} catch (System.Net.WebException we) {
throw new Exception("Webservice not available!", we);
}
Calling class:
....
} catch (Exception ex) {
MessageBox.Show("Couldn't login!", "Error",
MessageBoxButtons.OK, MessageBoxIcon.Hand,
MessageBoxDefaultButton.Button1);
//While showing this messagebox I get the exception
SP2 on HP 5550 with WM 2003.
Any ideas??
Thanks,
Christoph
I got a new iPAQ with WM 2003. I installed SP2 and my application and
tried to run my app. It didn't work. I call a Webservice in my app and
every time I got a timeout. It finally worked when I disabled my proxy
in the settings of WM 2003 and then enabled it again. Strange enough.
But most strange was what happened when the proxy was disabled and I
told my app to use a proxy. I call my webservice and that doesn't work,
OK. I get a WebException with status "ConnectFailure". In that part I
threw a new exception with the WebException as InnerException. In the
calling class I catch that exception and show a messagebox. And in that
moment I get a ObjectDisposeException from System.Net.Sockets.Socket! Why??
Here is some source:
....
//Call webservice
....
} catch (System.Net.WebException we) {
throw new Exception("Webservice not available!", we);
}
Calling class:
....
} catch (Exception ex) {
MessageBox.Show("Couldn't login!", "Error",
MessageBoxButtons.OK, MessageBoxIcon.Hand,
MessageBoxDefaultButton.Button1);
//While showing this messagebox I get the exception
SP2 on HP 5550 with WM 2003.
Any ideas??
Thanks,
Christoph