View Full Version : ActiveSync Thoughts
Andy Sjostrom
12-16-2003, 01:15 AM
I spent my weekend with ActiveSync... and I realize that many of you can fill in with your favorite ActiveSync rant. My most recent issue is related to the dreaded "Connection Failed" message from Visual Studio .NET 2003 when trying to debug and deploy applications to devices. Instead of giving you my subjective feelings about the problem I will, for once, cut to the chase and tell you how I fixed the problem.<br /><br />First, I <a href="http://groups.google.com/groups?hl=sv&lr=&ie=UTF-8&oe=UTF-8&q=%22connection+failed%22+%22visual+studio%22+device">google'd</a> a little and spotted some replies which lead to a fairly new set of Windows CE Utilities, <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=7EC99CA6-2095-4086-B0CC-7C6C39B28762&displaylang=en">"Windows CE Utilities for Visual Studio .NET 2003 Add-on Pack 1.1"</a>, Microsoft. Most of the utilities are geared towards connectivity issues between devices and Visual Studio .NET 2003 through ActiveSync. I downloaded the utilies, studied the instructions and tried every hint -- but nothing worked. I found the following piece of information generally interesting: "<b>Issue</b>: 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. <b>Solution:</b> Uninstalling these versions of ActiveSync removes some registry settings that are required for deployment. You must restore these registry settings to enable deployment."<br /><br />Anyway, I decided to go clean... This is what I did to get back on track:<br /><br />1. Un-install Pocket PC 2003 and Smartphone 2003 SDKs<br />2. Un-install eMbedded Visual C++<br />3. Un-install Visual Studio .NET 2003 (including MSDN Library)<br />4. Un-install ActiveSync 3.7.1<br />5. Install ActiveSync 3.7.1<br />6. Install Visual Studio .NET 2003<br />7. Install Pocket PC 2003 SDK<br />8. Install Smartphone 2003 SDK<br />9. Run fixes from Windows CE Utilities<br /><br />I still get deployment errors every time I try to push code to the device, but I work around that by just ignoring the errors, re-deploying and then the process works without any errors reported. This behavior is actually described in the Windows CE Utilies instructions, but the hints provided don't fix the problem. To me, it is just a minor issue. The real deal is that I can finally connect to my devices again!
Mike Temporale
12-16-2003, 03:06 AM
I remember reading somplace on a Microsoft web page, or a readme included in one of the SDK's for SmartPhone or PPC about being extra carefull when upgrading ActiveSync after the SDK has been installed. If you are upgrading or have upgraded to AS 3.7 after VS.NET 2003 was installed that you have to run a repair on the VS.NET from the install CD's.
Now, this is a huge pain, because it is just like reinstalling, but that has to be better than everything you went through. :wink: Something to try next time, or if you got some free time.
:)
Rob Borek
12-16-2003, 03:24 AM
Oh what fun ActiveSync is... :devilboy: The ActiveSync newsgroup is the fourth highest Pocket PC newsgroup by traffic - almost 10,000 posts in the past 6 months (thanks to Ed H. for the analysis!). And that doesn't even cover the ActiveSync questions in the other groups! 8O
Master O'Mayhem
12-16-2003, 03:56 AM
try this format c: that should fix it.. :P
tthiel
12-16-2003, 06:06 AM
Just buy a Palm.
I spent my weekend with ActiveSync... and I realize that many of you can fill in with your favorite ActiveSync rant. My most recent issue is related to the dreaded "Connection Failed" message from Visual Studio .NET 2003 when trying to debug and deploy applications to devices. Instead of giving you my subjective feelings about the problem I will, for once, cut to the chase and tell you how I fixed the problem.
First, I google'd (http://groups.google.com/groups?hl=sv&lr=&ie=UTF-8&oe=UTF-8&q=%22connection+failed%22+%22visual+studio%22+device) a little and spotted some replies which lead to a fairly new set of Windows CE Utilities, "Windows CE Utilities for Visual Studio .NET 2003 Add-on Pack 1.1" (http://www.microsoft.com/downloads/details.aspx?FamilyId=7EC99CA6-2095-4086-B0CC-7C6C39B28762&displaylang=en), Microsoft. Most of the utilities are geared towards connectivity issues between devices and Visual Studio .NET 2003 through ActiveSync. I downloaded the utilies, studied the instructions and tried every hint -- but nothing worked. I found the following piece of information generally interesting: "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. Solution: Uninstalling these versions of ActiveSync removes some registry settings that are required for deployment. You must restore these registry settings to enable deployment."
Anyway, I decided to go clean... This is what I did to get back on track:
1. Un-install Pocket PC 2003 and Smartphone 2003 SDKs
2. Un-install eMbedded Visual C++
3. Un-install Visual Studio .NET 2003 (including MSDN Library)
4. Un-install ActiveSync 3.7.1
5. Install ActiveSync 3.7.1
6. Install Visual Studio .NET 2003
7. Install Pocket PC 2003 SDK
8. Install Smartphone 2003 SDK
9. Run fixes from Windows CE Utilities
I still get deployment errors every time I try to push code to the device, but I work around that by just ignoring the errors, re-deploying and then the process works without any errors reported. This behavior is actually described in the Windows CE Utilies instructions, but the hints provided don't fix the problem. To me, it is just a minor issue. The real deal is that I can finally connect to my devices again!
cpoole
12-16-2003, 07:42 AM
I just spent the weekend fighting with Activesync as well.
It seems like I have to define a new partnership every few months to try to deal with sync problems. I purchased FlexWallet in the big sale a few weeks ago and went to add the file to my sync folder. Well... I could not find the current sync folder... I did have 3 dead ones in the My Documents. I use XP and have it set up so my kids can log onto the computer too. I found my sync folder sitting over in my daughter's My Documents folder. I tried to delete the partnership and define a new one... this time it put it into a folder under /windows/system32/...
I finally did a registry hack and managed to get the the synch folder back into my documents folder. So far... it seems to be working.
Andy Sjostrom
12-16-2003, 08:21 AM
I remember reading somplace on a Microsoft web page, or a readme included in one of the SDK's for SmartPhone or PPC about being extra carefull when upgrading ActiveSync after the SDK has been installed. If you are upgrading or have upgraded to AS 3.7 after VS.NET 2003 was installed that you have to run a repair on the VS.NET from the install CD's.
Now, this is a huge pain, because it is just like reinstalling, but that has to be better than everything you went through. :wink: Something to try next time, or if you got some free time.
:)
I tried repairing before un-installing etc. I tried many more things, actually. But this is what worked! :?
Arne Hess
12-16-2003, 11:05 AM
LOL... :-) And I thought you guys are going to launch another site called "ActiveSync Thoughts" when I saw the posting this morning in my Inbox :D ... Well, at least the problems with it might make it worth and who knows - might be the most visited Pocket PC and Smartphone related site... :-(
aroma
12-16-2003, 02:23 PM
LOL... :-) And I thought you guys are going to launch another site called "ActiveSync Thoughts"
Hahaha... yeah, that sucking sound you would hear would be all the bandwidth going down the drain from the millions of posts!
:)
skywarner
12-16-2003, 06:27 PM
Maybe it's just me, but I've honestly never had a problem with ASync since my original 3650. Three iPaq's later, still no issues.
Only "problem" I've ever encountered was with AvantGo, but that was an account/connectivity issue.
:)
Rob Borek
12-16-2003, 07:48 PM
LOL... :-) And I thought you guys are going to launch another site called "ActiveSync Thoughts" when I saw the posting this morning in my Inbox :D ... Well, at least the problems with it might make it worth and who knows - might be the most visited Pocket PC and Smartphone related site... :-(
"ActiveSync Thoughts" is pretty much Chris De Herrera's excellent ActiveSync FAQ's: http://www.cewindows.net/faqs/t-shootactivesync.htm
albsilva
12-17-2003, 02:08 AM
Hi Andy,
Have you tried to run the DelDesktopCryptoKeys.exe on the desktop from the CE Utilities? It worked for me last week... At the time I had formated the notebook not only because of this problem 1 week before... :roll:
Regards,
Alberto Silva
vBulletin® v3.8.9, Copyright ©2000-2019, vBulletin Solutions, Inc.