visual studio 2008 - Windows Mobile Emulator connection timeout accessing local web service -


i have windows mobile 6 application trying make web service call service hosted on local machine can debug logon process vs2008 connecting both emulated device , web service.

i have configured device emulator connect internet , confirmed doing bing search ie on device. have checked web service running , working using local test form on machine , having installed vxutil emulated device , checked can ping machine , make request web service url http://mymachinename>/service/myservice.asmx, both successful.

the application checks network connectivity checking web request response www.google.com , successful when try , call login method web service i'm getting .net socketexception 10060 - a connection attempt failed because connected party did not respond after period of time, or established connection failed because connected host has failed respond.

note: network connectivity check replaced along lines of article: establish network connectivity windows mobile connection manager

i have attached instance of vs2008 locally running web service , don't see request come in calling logon method on emulated device. assume stopping connection reaching local machine emulator, how else can find out preventing connection being made?

the reason happen dns lookup pc not working winmo device emulator. meaning when attempts resolve "mymachinename" it's eitehr getting invalid ip address or none @ all.

you check doing dns.resolve call in code see gets back. might easier try accessing service ip address directly instead of using machine name, thereby bypassing dns altogether.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -