WebException w/ Connect Failed in VS 2003 PPC 2002 emulator

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";
 
T

tchill

If I open any url in PocketIE in the emulator, I get the Trouble
Connecting box ("Unable to connect with connect settings...").

Network settings in the emulator are the defaults (for Internet, uses
Internet; for Work, uses Work, network card connects
to work).

Everything worked fine until a few weeks ago. Since then, I've done a
couple Windows updates & installed the Word 2007 conversion tools...

Thanks
Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top