Use. net 2003 to develop a Windows CE application to solve the problem of communication with the pocket pc.

Source: Internet
Author: User
 
When using. net 2003 for Windows CE applications, a problem occurs. After the project is compiled, the following error occurs when the project is deployed to the pocket pc:
------ Started deployment: Project: PDA, configuration: Debug Pocket PC ------
Deploying the device to the Pocket PC is using TCP connection for transmission
 
Error: The connection cannot be established. Make sure that the device has established a physical connection with the development computer.
---------------------- Complete ---------------------
Generation: 1 succeeded, 0 failed, 0 skipped
Deployment: 0 succeeded, 1 failed, 0 skipped
It seems strange that I can use ActiveSync to connect. I searched for it on msdn (http://support.microsoft.com/default.aspx? Scid = kb; en-us; 816826)
The original article is as follows:
Certain users on the desktop computer may notice that the deployment to a Pocket PC device that is connected with ActiveSync is not successful and you receive the following error message:
Cocould not establish a connection with the device. Please make sure the device is connected and working properly.
Other users on the same computer may be able to deploy and to debug by using the same device, may find that ActiveSync is working correctly, and may find that the file WindowsConManClient.exe is not copied to the device when they try to deploy or to debug. these symptoms indicate a possible extends upted security key container.
On the computer that is running Visual Studio. NET, run the delpolictopcryptkey.exe utility from the command prompt to clean the security key container for the current user. deltofftopcryptkey.exe is installed with the Windows CE Utilities for Visual Studio. NET 2003 Add-on Pack. by default, delpolictopcryptkey.exe is located in the Program FilesMicrosoft Visual Studio. NET 2003 CompactFrameworkSDKWinCE utilitiesdel=topcryptkey folder.
It turns out that the security key container has expired and Windows CE Utilities for Visual Studio is installed. NET 2003 Add-on package, go to Program FilesMicrosoft Visual Studio. NET 2003 CompactFrameworkSDKWinCE utilitiesdelmo-topcryptkeydirectory run delw.topcryptkey.exe, and then restart the computer to solve the problem.

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.