a socket was attempted to an unreachable host?

Hi,

I have opened my middle tier application with VS2005,CF2.0 (which is developed with VS2003(CF1.1)). When I run on VS2003 and pocket pc emulator 2002 , it is connected to server with out any error. but when I open on VS2005 (pocket pc emulator 2003) It is giving the following error.

A socket was attempted to an unreachable host.
can u plz give me the solution fot this if u know.


Answer this question

a socket was attempted to an unreachable host?

  • Mark Cooray

    Malleswar wrote:
    Thank you for responding.
    yes it is reachable outside the code. I am able to connect to my server through VS2003 (simulator 2002). but not with VS2005 (simulator 2003).
    If you know any solution please let me know.


    you have the virtual machine network driver in place I'm not certain but that could be new to 2005, or at the least, different in 2005.


  • kcchesnut

     Malleswar wrote:
    Hi,

        I got finally connected by loading ActiveSync 4.0 version and PPL. If any face the same problem you take my help. bye bye

    if you're only going to attempt to connect while cradled, not networked by ethernet or wirelessly, then yes, that's a solution.


  • AAKurtz

    Hi Ilya Tumanov,

    Actually I did setup through following this link.
    http://msdn.microsoft.com/vstudio/tour/vs2005_guided_tour/VS2005pro/Smart_Client/Testing.htm

    still i am facing same. Plzz, if u can give any give other solution.



  • zybernau

    Hi Ilya Tumanov, Thank you for responding. I am strange to this PPC programming.

    I really wonder it runs with the VS 2003 but the same is not working with VS2005. Is it bcoz of emulator.

    Can you please tell me how to setup virtual network card in the emulator and cradle get connection via AS. Please explain it.


  • PublicError

    Malleswar wrote:
    Hi Ilya Tumanov,

    Actually I did setup through following this link.
    http://msdn.microsoft.com/vstudio/tour/vs2005_guided_tour/VS2005pro/Smart_Client/Testing.htm

    still i am facing same. Plzz, if u can give any give other solution.


    are you able to connect, using the device, to a resource on the network

    what is the address of the socket you're trying to connect to is it reachable on the network, outside of your code


  • d72e4d

    Did you forget to setup virtual network card in the emulator Or at least cradle it to get connection via AS



  • Skill225

    I even gone with virtual machine network driver. but it was not connected. If any other, please let me know.


  • prthealien

    can u explain the problem


  • Ronald L

    Thank you for responding.
    yes it is reachable outside the code. I am able to connect to my server through VS2003 (simulator 2002). but not with VS2005 (simulator 2003).
    If you know any solution please let me know.



  • sani007

    Hi,

    I got finally connected by loading ActiveSync 4.0 version and PPL. If any face the same problem you take my help. bye bye


  • Rhubarb

    hi ,

    i need your help how i connected my socket to PC.

    i have same problem wich you got.

    Thanks


  • a socket was attempted to an unreachable host?