This err msg is the next one I get after resolving “NotSupportedException” as noted here
I don\'t even reach the break point in the server code (set on the first line of
The large problem I see here is the fact that you have localhost
as your address. That's absolutely wrong. localhost
means, effectively, "on the same machine as I am running" so unless you've somehow managed to get a async .NET 4.0 web service to run on your Windows CE device and your server code is running there, then this is most certainly not what you want.
If you're running on an emulator, it's still wrong. The emulator is, for all intents and purposes, a separate machine.
You must use the address of the server/PC where that web service is running. It must be a routable address, meaning if you're connected over USB then it's probably ppp_peer
and not an IP address (well it resolves to a private address, but the name is easier to remember).