window| Solve | The problem
When using. NET 2003 as a Windows CE application, you encounter a problem. Project compilation passed, but the following error occurred while deploying to the Pocket PC:
------Started deployment: Project: PDA, configuration: Debug Pocket PC------
Deploying to Pocket PC device using TCP connection transfer
Error: Unable to establish connection. Make sure that the device has a physical connection with the development computer.
----------------------Complete---------------------
Build: 1 succeeded, 0 failed, 0 skipped
Deployment: 0 has succeeded, 1 has failed, 0 has skipped
It feels strange that I can connect it with ActiveSync. Search on MSDN (http://support.microsoft.com/default.aspx?scid=kb;en-us;816826)
The original text is as follows:
Certain users on the Desktop computer may notice this deployment to a Pocket PC device this is connected with ActiveSync are not successful And you receive the following error message:
could not establish a connection with the device. Sure the device is connected and working properly.
other users in the same computer may is able to deploy and to debug by using the same device is working correctly, and could find this file \windows\conmanclient.exe is not copied to the device when they try to D Eploy or to Debug. These symptoms indicate a possible corrupted the security key container.
On the computer it running Visual Studio. NET, run the DelDesktopCryptKey.exe utility from the command prompt to Clea n the security key container for the current user. The DelDesktopCryptKey.exe is installed with the Windows CE Utilities for Visual Studio. NET 2003 Add-on Pack. By default, DelDesktopCryptKey.exe are located in the Program Files\Microsoft Visual Studio. NET 2003\compactframeworksdk\w InCE Utilities\deldesktopcryptkey folder.
It turned out that the security key container expired, and after installing Windows CE Utilities for Visual Studio. NET 2003 Add-on package, on the command line, to program Files\mic Rosoft Visual Studio. NET 2003\compactframeworksdk\wince utilities\ Deldesktopcryptkey directory to run DelDesktopCryptKey.exe, and then restart the computer, the problem is resolved.