> > Hi everyone,
> >
[quoted text clipped - 12 lines]
> Can you access "http:\\Computer1\ServiceName\Service.asmx" in Pocket
> Internet Explorer?
No I can not access this site. Just with having logged in by Files Browser
> Have you tried substituting the IP of server instead of the host name?
> (there may be a DNS resolution issue)
No because I do not have static IPs
> Alternatively, you may wish to leverage a solution like Pocket Hosts to
> define that host to your PPC:
[quoted text clipped - 3 lines]
> Nino Benvenuti
> http://nino.net/blog
Thank you, do you think that it is a problem of converting my host name into
an ip address?
Simon Hart - 20 Jan 2006 10:29 GMT
How are you going to connect to the desktop, ActiveSync, Wi-Fi etc?
>> > Hi everyone,
>> >
[quoted text clipped - 39 lines]
> into
> an ip address?
Kessel - 20 Jan 2006 12:28 GMT
I connect via ActiveSync with DMA. I use exactly the same settings as
specified on this web page (
http://blogs.msdn.com/akhune/archive/2005/11/16/493329.aspx).
Thank you,
Pan
Simon Hart - 20 Jan 2006 14:19 GMT
Firstly, what you could do if you have a dynamic IP address, is to read the
Windows CE registry from: "Software\Microsoft\Windows CE Services\Partners"
to get the ActiveSync host name (name of machine). Then convert this to an
IP address using IPHostEntry class. This is much better regardless if you
have DNS problems as it makes your code less reliance on DNS.
Second, if running a firewall on your server machine running the web
service, ensure port 80 (or whatever port your web server is using is open).
>I connect via ActiveSync with DMA. I use exactly the same settings as
> specified on this web page (
> http://blogs.msdn.com/akhune/archive/2005/11/16/493329.aspx).
>
> Thank you,
> Pan
Kessel - 20 Jan 2006 16:00 GMT
There is no value in this key. I used the Windows CE Remote Registry to read
out the value but I just find a NetworkGUID with a value under this registry
path. Is this the value I have to read out (I would expect something like
"ComputerName1"). Sorry, maybe I did not understand your answer completely.
To correct my answer that I am using ActiveSync. I wrote an app for an
symbol scanner. Now I want to write a emulator version of this app, so that I
can debug the app when I do not have a symbol scanner. Now I have to use the
emulator. Normally this app would use wi-fi, but for the emulator version I
have to use DMA, because it is recommended (or is this wrong?).
> Firstly, what you could do if you have a dynamic IP address, is to read the
> Windows CE registry from: "Software\Microsoft\Windows CE Services\Partners"
[quoted text clipped - 11 lines]
> > Thank you,
> > Pan
Simon Hart - 20 Jan 2006 16:45 GMT
There should be a int value "PCur" which will obtain you the current partner
setting. From that you need to read the key: "Software\Microsoft\Windows CE
Services\Partners\P1" value PName where "P1" is the result from PCur. PName
will by a byte [] unicode encoded, so you will need to convert the byte
array to a string using class UnicodeEncoding.
> There is no value in this key. I used the Windows CE Remote Registry to
> read
[quoted text clipped - 32 lines]
>> > Thank you,
>> > Pan
Kessel - 24 Jan 2006 12:23 GMT
Thanks for your answer.
I did this and i can read out the correct ip, but I do still not get a
connection to the webservice. I guess it is not a dns problem, or am I wrong?
> There should be a int value "PCur" which will obtain you the current partner
> setting. From that you need to read the key: "Software\Microsoft\Windows CE
[quoted text clipped - 38 lines]
> >> > Thank you,
> >> > Pan
Simon Hart - 24 Jan 2006 15:36 GMT
OK, at least you have implemented good practice if nothing else.
It won't be a DNS problem now as you are converted the host to an IP using
IPHostEntry didn't you?
Can you post the WebException that you are getting.
> Thanks for your answer.
> I did this and i can read out the correct ip, but I do still not get a
[quoted text clipped - 52 lines]
>> >> > Thank you,
>> >> > Pan
Kessel - 24 Jan 2006 17:07 GMT
It won't be a DNS problem now as you are converted the host to an IP using
IPHostEntry didn't you?
->yes I did convert it.
Thats the status of the WebException which I get:
ConnectFailure
Msdn Library explaination: The remote service point could not be contacted
at the transport level