VS 2005 Beta 2 Emulator deployment problem.

I developed a simple "Hello World" application for Windows Mobile 5.0 for Smartphone with VS2005 Beta 2. Then, I ran the program in debug mode. The application compiles fine but the deployment fails. Here is the content of the "output" window:

------ Build started: Project: myTest, Configuration: Debug Any CPU ------
Csc.exe /noconfig /nowarn:"1701;1702" /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE;Smartphone /reference:"C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\WindowsCE\mscorlib.dll" /reference:"C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\WindowsCE\System.Data.dll" /reference:"C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\WindowsCE\System.dll" /reference:"C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\WindowsCE\System.Drawing.dll" /reference:"C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\WindowsCE\System.Windows.Forms.dll" /reference:"C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\WindowsCE\System.Xml.dll" /debug+ /debug:full /filealign:512 /optimize- /out:obj\Debug\myTest.exe /resource:obj\Debug\myTest.Form1.resources /resource:obj\Debug\myTest.Properties.Resources.resources /target:winexe Form1.cs Form1.Designer.cs Program.cs Properties\AssemblyInfo.cs Properties\Resources.Designer.cs

Compile complete -- 0 errors, 0 warnings
myTest -> D:\Documents and Settings\Manu\my documents\visual studio 2005\Projects\myTest\myTest\bin\Debug\myTest.exe
------ Deploy started: Project: myTest, Configuration: Debug Any CPU ------
All attempts to connect to the deployment target at port 5654 have failed. Addresses attempted:
 169.254.165.6;fe80::203:ffff:feca:3c76%5;fe80::5efe:169.254.165.6%2;::1;fe80::1%1.

If target is an emulator, connection failed because no virtual switch driver is detected. Reinstall Device Emulator package. For more information, see Troubleshooting topics in Visual Studio Help.

Connect to device failed.
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

After quite an amount of googling, I couldn't find a fix to this problem. My setup is as follows:
Windows XP SP2, Visual Studio 2005 Beta 2, ActiveSync 4.0, Windows Mobile 5.0 SDK for Smartphone, Windows Mobile 5.0 SDK for Pocket PC; installed in that order.

I have even tried ActiveSync 3.8 with same problem.

Any help would be greatly appriciated.

Regards,

Manu.



Answer this question

VS 2005 Beta 2 Emulator deployment problem.

  • Martin B

    Thanks Vladimir!

    I fixed the problem by installing DMA Transport Update for Visual Studio 2005 Beta 2.

    Regards,

    Manu.

  • Synergy

    Probably the easiest way to resolve this is to install the DMA connectivity patch from:

    http://www.microsoft.com/downloads/details.aspx FamilyID=0E05817F-08D6-48A2-A572-CF77ED72C5BE&displaylang=en

    Thanks,

    Vladimir

  • Marslv

    i installed it in the default location.
    Here's all the step i took to get it to work again :
    uninstalled windows mobile 5.0 sdk.
    Reinstalled windows mobile 5.0 sdk.
    not working
    uninstalled windows mobile 5.0 sdk.
    uninstalled visual studio .net 2005 beta 2
    reinstalled visual studio .net 2005 beta 2
    reinstalled windows mobile 5.0 sdk
    not working
    uninstalled windows mobile 5.0 sdk
    uninstalled dma transport update
    reinstalled windows mobile 5.0 sdk
    reinstalled dma transport update
    and everything was working!


  • dragonsbb16

    well you could try uninstalling the dma patch using the msi and reinstalling it!

  • TomasZednik

    OK great. Now, can you tell me what *I* can do about it (slowly so my brain can take it in)
  • ETS

    I've corrected this problem by uninstalling the dma path (using the msi) and reinstalling it.

  • LucDew

    OK so Nurse Cratchet forgot to give me my meds this morning and I hadn't been to Dr. Starbucks yet either... but anyway, I have already tried this a couple of times and it didn't work for me. Is there a specific location that I should try installing it
  • shaen170013

    I have installed the DMA Transport Update for Visual Studio 2005 Beta 2, but I am now getting the following alert whenever I try to run/debug my app:

    "Specify either a .bin file containing an OS image or an emulator saved-state file."
    [OK]

    Hitting OK gives me another dialog with all the command line switches available but it doesn't seem to be much help.

    ALSO, after dismissing both dialogs, VS continues to try to deploy, and I get both dialogs a total of three times before it finally gives up and says the deploy failed. I would have thought the first set of dialogs would have prompted the end of the deployment.

    At any rate, I just want to run my app and do my work, so if someone could tell me what I need to do next, I would greatly appreciate it.


  • Mangakl

    I get this error too, does anyone know of a solution

    Thanks

  • VS 2005 Beta 2 Emulator deployment problem.