T
tchill
Started having a problem connecting to the network in the PPC 2002
emulator on VS2003. Using WebRequest/WebResponse objects in C#
consistently cause a WebException with status ConnectFailed.
If I run a similar app with the same request/response in Smartphone
2003 emulator, or build a regular Windows app with the same calls,
they work without problem, so it seems isolated to PPC 2002 device &
emulation.
I've re-installed VS2003 & tried the VS2005 trial version, but get the
same results.
Anybody else ever seen this, or have any suggestions?
Thanks in advance,
Tom
Here's a simple snippet that demos the problem for me:
try
{
HttpWebRequest webRequest =
(HttpWebRequest)WebRequest.Create("http://www.google.com" );
WebResponse webResponse = webRequest.GetResponse();
}
catch (WebException exc)
{
label1.Text = "FAILED:" + exc.Message + exc.Status;
return;
}
label1.Text = "ok";
emulator on VS2003. Using WebRequest/WebResponse objects in C#
consistently cause a WebException with status ConnectFailed.
If I run a similar app with the same request/response in Smartphone
2003 emulator, or build a regular Windows app with the same calls,
they work without problem, so it seems isolated to PPC 2002 device &
emulation.
I've re-installed VS2003 & tried the VS2005 trial version, but get the
same results.
Anybody else ever seen this, or have any suggestions?
Thanks in advance,
Tom
Here's a simple snippet that demos the problem for me:
try
{
HttpWebRequest webRequest =
(HttpWebRequest)WebRequest.Create("http://www.google.com" );
WebResponse webResponse = webRequest.GetResponse();
}
catch (WebException exc)
{
label1.Text = "FAILED:" + exc.Message + exc.Status;
return;
}
label1.Text = "ok";