Upgrading from Beta 2 of VS 2005 to RC / RTM Version - What device device developers should know

We were looking at some scenarios where as a device developer you had VS 2005 Beta 2 on your machines. Then you decided to un-install Beta 2 and install RC candiate. There are a few things you should be aware of.

1. If you had installed the DMA Transport Update, please make sure remove that before you un-install anything else to clean your machine. We are also in the process of adding removal of this Patch to the un-install tool that VS Setup team has been working on.

2. You would also need to clear your old data store and saved state. Here are some symptoms of having older files on your machine.

1. Error message as soon as the Device Emulator starts< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Failed to open the VPC Network Driver. Verify that the driver is installed, or install the driver from the Web download location at           http://go.microsoft.com/fwlink/ linkid=46859

 2. The Soft Keys in the Smartphone Emulator are mapped incorrectly example, pressing the left soft key while in the home view will result in a '1' being entered.

 3. Error message indicating

 “The configuration data for this product is corrupt.  Contact your support personnel.”

 4. Error message indicating “Connect to Device Failed” with a message that looks like.

All attempts to connect to the deployment target at port 5654 have failed. Addresses attempted:

 172.26.120.122;fe80::203:ffff:feaf:745f%6;fec0::f70f:0:5efe:172.26.120.122%1;3ffe:8311:ffff:f70f:0:5efe:172.26.120.122;fe80::5efe:172.26.120.122%2;::1;fe80::1%1. 

          The device security configuration may have disallowed the connection. Ensure that you have the appropriate certificates on your device for development. Review your           SDK documentation for proper security settings for connecting to this device.


5. Incorrect Skins are displayed. Example while connecting to Smartphone 2003 QVGA image, actual skin is that of Smartphone 2003 non-QVGA emulator

To resolve these issues

1.       For each user on the machine remove the %userprofile%\Local Settings\Application Data\Microsoft\CoreCon\1.0 Folder and all files under it.

2.       For each user on the machine rename the %userprofile%\Application Data\Microsoft\Device Emulator\ folder to %userprofile%\Application Data\Microsoft\Device Emulator_B2\

It is very important that Visual Studio 2005, the Device Emulator and The Device Emulator manager are not running at the time when you are performing these modifications.

I'll post more information
 on our VSD team blog around this as well.


Amit



Answer this question

Upgrading from Beta 2 of VS 2005 to RC / RTM Version - What device device developers should know

  • Barista

    Your answer really helped me. Thanks a lot.

  • dummies

    P.S. The instructions posted did not, I repeat, DID NOT work. I am still getting a "1" when I press the left soft key and I "2" when I press the right soft key. I have followed the instructions three times. To the letter. Is this what Microsoft calls quality

  • MattyN

    Every time I try to enable the NE2000 network adapter in the PPC2003 SE emulator I get the "Failed to open the VPC Network driver ...." error.  I deleted/renamed the files you recommended, and it is not fixing the issue.  Any other ideas   I am running 8.0.50727.42 of the emulator and Visual Studio. 

    And I hadn't upgraded from beta 2 first install was RTM version.

    Thanks

    Robert Brown


  • JCardoso

    Helpful!

    thank you for your advice!Big Smile

  • jturpin

    As a developer of a moderately successful Smartphone application, I'd just like you to know that these and other shenanigans related to Beta 2 and the release of VS 2005 have cost me a very significant amount of time and money. In fact, I have spent approximately 2-3 times as much time configuring Visual Studio as I been writing code. This is bad.

    I think the VS team needs to take a hard look at the quality of their product instead of ignoring the incredible amount of bloat it has undergone. It should be a warning sign when a mark of an expert level developer is one who uses Notepad++ or something instead of Visual Studio. For my part, I am actually discontinuing Smartphone development because of this wasteful and painful experience.

  • Reta

    Hi Robert, I'm running the same version (it should not be a beta - but - who knows ) and I was experiencing the same issues. I have wasted quite a huge amount of time, bouncing back and forth in a myriad of download pages, blogs, and experts' sites - at no avail (better not to mention all the time wasted already in installing MSMQ on Pocket PC2003 - for its nature one of the things that should be particularly "painless" for any Mobile Device :)). Anyway, swimming across a sea of "suggestions" - I tried to setup the device from within VS 2005 (Tools/Options/Device Tools/Device/Pocket PC 2003 SE emulator/Properties/Emulator Options/Network/Enable NE2000 (bound to Microsoft Loopback Adaptor) as explained on http://www.csharphelp.com/archives3/archive587.html (a good article, even though it references directories that are not available anymore).

    Back to the Emulator - I still could not have "network" connectivity. So I tried to setup the emulator from the emulator window (File/Configure/Network). With a bit of surprise, I noticed that the settings were different from the one edited through the VS 2005 options menus. I enabled the NE2000 and bound it to the MS Loopback addres and -WOW- this time a got yet another error message box - suggesting to download the VPC (virtual something adapter) from http://go.microsoft.com/fwlink/ linkid=46859 Well (I'm quite resilient) I did it and I also installed it! ;) Back to the emulator window, I set up again the network (this time the binding was to Microsoft Loopback Adapter - Virtual Machine Network Service Driver). This time I got a prize - I'm actually able to ping the emulator. Is all this repeatable do not ask but I wish you all the luck!

    Best Regards


  • Sergei Almazov

    Aboslutely RIGHT!!!

    After I did remove the Beta 2 and installed the final VS2005 the PPC emulator was not able to connect. Just doing what you say, deleting that folder and renaming the others everything was working.

    A delight!!!

    Thanks very much.

    Jose Adell


  • Upgrading from Beta 2 of VS 2005 to RC / RTM Version - What device device developers should know