Can't establish connection from VS 2003 to ActiveSync 4.2

I have a VS 2003 ppc project, but when attempting to debug it will not connect to a ppc instance running through device emulator 2.0 preview which is successfully connected through activesync 4.2.

VS 2003 reports;

Deploying to Pocket PC Device using TCP Connect Transport

Error: Cannot establish a connection. Be sure the device is physically connected to the development computer.

I am running norton anti virus 2006 but have switched off the firewall. The windows XP firewall is disabled.

Does anyone have any ideas why its not connecting


Answer this question

Can't establish connection from VS 2003 to ActiveSync 4.2

  • Jimmy.Lin

    Hi,
    I'm having the same exact situation.
    WXP Pro SP2, VS 2003, Active sync 4.1
    PDA (Ipaq rx3715) is on the craddle and connected, I can explore device, and if needed I can deploy copying .cab file to the device and then install. BUT, when trying to connect from VS I get the same exact mesasage.
    Look like VS lost it's links, configuration or something. The strange thing here is that it did work once, and maybe stoped orking after upgrading ASync from 3.7 to 4.1, cause I have an IMATE K-JAM that needs this version to communicate.
    PLEASE HELP...I'm wasting lots of time not being able to debug.
    Can I debug or trace what VS2003 is doing when I press the connect button ...You guys at MS should be able to do it...

  • SanjayNarang

    Two questions:

    1. Did you cradle the emulator using the Device Emulator Manager

    2. Can you use the file explorer in ActiveSync to browse the filesystem inside the DeviceEmulator

    That'll help us figure out what might be going wrong.

    Thanks,

    Barry


  • SanderS

    Thanks so much. This fixed my problem perfectly. You probably saved me hours and hours of screwing around trying to get this thing to connect. Thanks again.
  • raj.ramesh

    That should help:

    http://www.microsoft.com/downloads/details.aspx FamilyId=7EC99CA6-2095-4086-B0CC-7C6C39B28762&displaylang=en

    This is search query used to find it (second link show readme for above download):

    http://www.google.com/search hl=en&q=VS+2003+ActiveSync+Deploy+Fail&btnG=Google+Search

    Relevant part:

    I uninstalled ActiveSync and then reinstalled it. Now I can’t deploy my application. How do I fix this

    Issue: After uninstalling ActiveSync version 3.5, 3.6, 3.7 or 3.71, deploying fails with the error message "There were deployment errors. Continue ” This typically happens when one version of ActiveSync is uninstalled and a newer version is installed.



  • slsjr

    I solved the problem the following way, after reading lots of posts and pages:

    1.- Downloaded the Windows CE Utilities for Visual Studio .NET 2003 Add-on Pack 1.1 from http://www.microsoft.com/downloads/details.aspx FamilyId=7EC99CA6-2095-4086-B0CC-7C6C39B28762&displaylang=en you might want to change the language.

    2.- Went to the folder where these utilities are installed something like <put path here>\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\WinCE Utilities

    3.- And selected the utility Select WinCE CPU, what I found is that it wasn't configured, so I chose in this case an ARMV for an IPAQ rx3715, pressed configure and re-launched VS2003

    4.- Connected the PDA and pressed the "connect to device" option, voila...its connected.

    Finally I applied the upgrade to ActiveSync 4.2 and it's still working.

    Hope this helps someone out there,

    Regards,

    Arvychile

  • Can't establish connection from VS 2003 to ActiveSync 4.2