System.Net.WebException

  • Thread starter Thread starter =?iso-8859-2?B?QrFjemVr?=
  • Start date Start date
?

=?iso-8859-2?B?QrFjemVr?=

I've got a problem with using WebService on my pocket.
When I use this
http://samples.gotdotnet.com/quickstart/aspplus/samples/services/MathService/CS/MathService.asmx
service everything is ok, but when I use service on my local computer I
get this
exception System.Net.WebException even if I change localhost on my
computer name.
The Service is ok because I used her on my Windows application.

I supposed that something is not correct with my IIS but I'm not sure

Could somebody help me?
 
Thanks for your answer

I've done like this but instead of IP address I use my computer name
for example http://nba/Service.asmx. Evrything is ok when I test it on
emulator but
it doesn't work on my device. I don't why
 
It is always advisable to use IP address instead of machine name.
Pocket PC uses registry for DNS resolution machine name against IP
address as against hosts file in Desktop PC's. If your IP is DHCP
configured, DNS will not resolve properly. A soft boot will solve this
problem. But my advice is to use IP instead of machine name.

Hope this helps,
Cheers,
Arun.
www.innasite.com
 

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

Back
Top