Jquery中文网 www.jquerycn.cn
Jquery中文网 >  脚本编程  >  Asp.net  >  正文 用.net 2003开发Windows CE应用,解决与pocket pc通讯的问题

用.net 2003开发Windows CE应用,解决与pocket pc通讯的问题

发布时间:2018-10-10   编辑:www.jquerycn.cn
jquery中文网为您提供用.net 2003开发Windows CE应用,解决与pocket pc通讯的问题等资源,欢迎您收藏本站,我们将为您提供最新的用.net 2003开发Windows CE应用,解决与pocket pc通讯的问题资源
 
用.net 2003作Windows CE应用时,碰到一个问题。工程编译通过,但在部署到pocket pc时出现如下的错误:
------ 已启动部署: 项目: PDA, 配置: Debug Pocket PC ------
正在部署到 Pocket PC 设备正在使用 TCP 连接传输
 
错误: 无法建立连接。请确保此设备已经与开发计算机建立了物理连接。
---------------------- 完成 ---------------------
      生成: 1 已成功, 0 已失败, 0 已跳过
      部署: 0 已成功, 1 已失败, 0 已跳过
感觉很奇怪,我明明用ActiveSync是可以连上的。到msdn上搜了一下(http://support.microsoft.com/default.aspx?scid=kb;en-us;816826)
原文如下:
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:
Could 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 corrupted security key container.
On the computer that is running Visual Studio .NET, run the DelDesktopCryptKey.exe utility from the command prompt to clean the security key container for the current user. DelDesktopCryptKey.exe is installed with the Windows CE Utilities for Visual Studio .NET 2003 Add-on Pack. By default, DelDesktopCryptKey.exe is located in the Program FilesMicrosoft Visual Studio .NET 2003CompactFrameworkSDKWinCE UtilitiesDelDesktopCryptKey folder.
原来是由于security key container过期了,安装Windows CE Utilities for Visual Studio .NET 2003 Add-on package 后,在命令行中到Program FilesMicrosoft Visual Studio .NET 2003CompactFrameworkSDKWinCE UtilitiesDelDesktopCryptKey目录下运行DelDesktopCryptKey.exe,然后在重启一下计算机,问题解决。

您可能感兴趣的文章:
用.net 2003开发Windows CE应用,解决与pocket pc通讯的问题
介绍一下Windows CE的学习路线
桌面端的移动运算(一)
Office 2003程序打开出现错误消息:"错误 2908.发生内部错误"
.net Compact Flamework中MD5CryptoServiceProvider的实现
局域网内使用代理WCF无法访如何解决?
创建ASP.NET数据存储层(1)
部署.net平台的程序
php如何判断用户通过手机wap访问还是电脑直接访问
腾讯全民wifi连不上问题解决办法

[关闭]