i am trying to call a basic hello world web service from a
smart device application. there is an error saying

An unhandled exception of type 'System.Net.WebException'
occurred in System.Web.Services.dll
Additional information: Unable to connect to the remote
server

it code works fine in all other types of applications like
a windows app, asp .net web app. if anyone knows what the
problem could be
please help me

Re: Connecting to a web service by Chris

Chris
Thu Aug 21 11:05:03 CDT 2003

99% of the time this error is caused by compiling the app to look at
"localhost" for the web server, which means "web server on my local
machine", which the PPC doesn't have.

--
Chris Tacke, eMVP
Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net

"Tej" <tejmankar@hotmail.com> wrote in message
news:0eb601c367f3$7611fcb0$a301280a@phx.gbl...
> i am trying to call a basic hello world web service from a
> smart device application. there is an error saying
>
> An unhandled exception of type 'System.Net.WebException'
> occurred in System.Web.Services.dll
> Additional information: Unable to connect to the remote
> server
>
> it code works fine in all other types of applications like
> a windows app, asp .net web app. if anyone knows what the
> problem could be
> please help me