Develop a Windows CE application with. NET 2003 to address problems with the Pocket PC

Source: Internet
Author: User
Tags command line visual studio
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.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.