locked
Network setup for sync services RRS feed

  • Question

  • Hi everybody!

    I 'm new to the windows mobile world, so excuse if this is a stupid question.

    I managed to create an windows mobile device application in which i use Sync services (to sync to the central DBMS which is hosted on the development PC). Sync services are using a WCF service to implement syncing. This project has successfully been deployed to the Emulator and to a HTC mobile phone.

    To make use of the sync services both devices were "cradled in" (and everything worked fine). Since this is a mobile application i thought to unplug the real device (HTC) and try to sync, the result: i got a runtime error.It clearly has to do with the fact that the device is cradled in or not.

    The setup of the (small) network i have is:

    Pirelli Router (... funny that Pirelli manufactures electronic parts)

    Laptop (gets an IP from the Router)

    Windows Mobile device (HTC) (gets an IP from the router)

    Pinging from the laptop to all the devices works fine, but it seems impossible to get an address like the following resolved if the device is not cradled in:

    http://192.168.1.2:8731/MySyncService/

     

    What m i doing wrong? what do i miss?

    Thanks in advance

     

     

    • Moved by warrentang Monday, September 27, 2010 3:17 AM (From:Windows Mobile Development)
    Thursday, September 23, 2010 1:56 PM

All replies

  • is the service running on the laptop? have checked if there's any firewall setting on the machine hosting the service that's blocking the incoming calls?

    Monday, September 27, 2010 3:23 PM
  • JuneT's post indicated the direction for nailing down the issue. Essentially this is not a sync related issues, instead, it is purely  a net work configuration for devices to get on to the intranet or internet based on your target IP.

    the reason all worked fine if the device is cradled is that the laptop proxi-ed/relayed the network calls to the remote IP.

    I would suggest starting with simple case, i.e. a known working services and ensure it can be accessed from the device and then moving to the sync services to simplifiy the debugging process.

    Thanks

    Yunwen


    This posting is provided "AS IS" with no warranties, and confers no rights.
    Monday, September 27, 2010 9:11 PM