RE: Pocket PC Network Connection Error
- From: Elton W <EltonW@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 17 Jul 2006 13:42:02 -0700
Hi Johann,
Thanks for your explanation.
After doing following things, I still get error, Could not establish
connection to network.
1. Install Loopback Adapter
2. Run IPCONFIG /ALL to get the Loopback Adapter connection’s IP Address
3. In web service client proxy class, change Url from
http://localhost/GetData/Service.asmx
to
http://IPAdress/GetData/Service.asmx (IPAddress looks like XXX.XXX.XX.XXX)
It seems I’m stll missing something.
Thanks,
Elton
"Johann Granados" wrote:
Hi Elton,.
The Microsoft Loopback Adapter is a virtual network card. By using the
Loopback Adapter ip I mean setting the web reference url property in the VS
project to the ip assigned to this virtual network card (you are free to
assign the ip address you want to the Loopback Adapter however it is highly
recommend to use a class C ip adresss)
Hope this helps,
--
Johann Granados
MVP Compact Framework
Costa Rica, Central America
"Elton W" wrote:
Hi Johann,
I have same problem as Satish's.
I'm pretty new in Mobile development. I don't understand how to use the IP
assigned to the Microsoft Loopback Adapter. Could you explain in more detail?
BTW, Marty's solution doesn’t work for me.
Thanks,
Elton
"Johann Granados" wrote:
Hi Satish,
I recomend you to install the Microsoft Loopback Adapter (see the following
article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcepb40/html/pbtskInstallingMicrosoftLoopbackAdapter.asp)
Then, use the IP assigned to the Microsoft Loopback Adapter as the url for
the web service proxy (this will work for the emulator -for the real device
use the IP assigned to the computer network card-).
Hope this helps,
--
Johann Granados
MVP Compact Framework
Costa Rica, Central America
"Satish Babu Dasari" wrote:
Hi,
We are developing application with the webservices for the Pocket PC. We
have written small webservice and deployed on the IIS Server. Created new
Pocket PC project in Visual Studio 2005 and added the web service which we
have created. When we try to run this application on the emmulator we are
getting error saying that "Could not establish connection to network"
The code what we have written in the web service is
[WebMethod]
public string GetString()
{
return "Mesasge from Webservice";
}
Just returning the string from the method. Please send me the solution for
this problem. We are tring this one from last 15 days. And same method is
working with Visual Studio 2003 version. It is giving problem with only
Visual Studio 2005.
Thanks in advance.
Regards
Satish
- References:
- RE: Pocket PC Network Connection Error
- From: Johann Granados
- RE: Pocket PC Network Connection Error
- Prev by Date: Cab file name
- Next by Date: Re: Bluetooth application development
- Previous by thread: RE: Pocket PC Network Connection Error
- Next by thread: HELP- how can i chang font color in editbox?
- Index(es):
Relevant Pages
|