pocket pc

D

drishtik

hi
i have a simple webservice which i am using in my pocketpc app.
just the one with the default helloworld web method.

it works fine ina windows app
but in the pocket pc it gives me the error

An unhandled exception of type 'System.Net.WebException' occurred in
System.Web.Services.dll

Additional information: Unable to connect to the remote server


i tried to give the server name rather than localhost
and even 127.0.0.1 but still i get the same error
kindly help
thanx
 
G

Ginny Caughey [MVP]

You're on the right track not using localhost, since "local" from the point of
view of the PocketPC is the PocketPC. Run ipconfig.exe from the command prompt
to get a usable IP address instead.
 
D

drishtik

thanx for the input.
it worked. but i dont understand why it doesnt work when im offline
in my simple webservice i clicked project - > wweb project -> offline
and i added that reference to my smart app
shouldnt that work?

thanx
 

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