WebException while debugging a Windows Mobile app on Vista

S

Sunil Garg

Hello,

I am trying to debug a a .NET CF 2.0 application on a Windows Mobile
Smartphone (Cingular 2125) using VS2005 on Windows Vista. I do have
the Windows Mobile Device Center installed, but am getting this
exception while trying to run the program. I am using the internet
passthrough via USB. Is there a documented way to get the passthrough
working on Vista?

Thanks,
Sunil

=========================

WebException
Unable to read data from the transport connection.

at
System.Net.HttpWebRequest.finishGetResponse()
at
System.Net.HttpWebRequest.GetResponse()


System.Net.WebException was unhandled
Message="Unable to read data from the transport connection."
StackTrace:
at System.Net.HttpWebRequest.finishGetResponse()
at System.Net.HttpWebRequest.GetResponse()
 
T

Tomer Gabel

Hello Sunil,

Assuming that you've checked the URL and it's valid, the easiest way to check
if this is a Vista-specific issue would be to simply run the appliaction
while the device is connected to another machine running XP...

Regards,
Tomer Gabel (http://www.tomergabel.com)
Monfort Software Engineering Ltd. (http://www.monfort.co.il)
 
S

Sunil Garg

Hi Tomer,

The USB passthrough did work under XP, and the URL is valid.

Thanks,
Sunil
 
G

Guillaume Hanique

Hello,

I have the same problem running Windows Vista.

What I notice is that:
- If I put my Pocket PC in the cradle, it gets connected in the Mobile
Device Center
- As soon as I start debugging, the Mobile Device Center is Not Connected.

This behavior was not so in Active Sync 4.1 on Windows XP.

Anyone know a solution?

Thanks,
Guillaume
 

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