用.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 \Windows\ConManClient.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 Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\WinCE Utilities\DelDesktopCryptKey folder.

原来是由于security key container过期了,安装Windows CE Utilities for Visual Studio .NET 2003 Add-on package 后,在命令行中到Program Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\WinCE Utilities\DelDesktopCryptKey目录下运行DelDesktopCryptKey.exe,然后在重启一下计算机,问题解决。

转载于:https://www.cnblogs.com/vicky8081/archive/2005/05/19/158887.html

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

  1. 解读vs2003、vs2005、vs2008开发Windows CE环境、默认S pda 智能设备

    解读vs2003.vs2005.vs2008开发Windows CE环境.默认SDK开发包及测试 标签: vs2003  vs2005  vs2008  wince5.0  wince6.0 分类:  ...

  2. 解读vs2003、vs2005、vs2008开发Windows CE环境、默认SDK开发包及测试

    文章来自http://swanmsg.blog.sohu.com/184427819.html 以前做过一些嵌入式开发,那么从以前做产品.做项目设计到嵌入式的开发,零碎时间累计到现在也有一年载已.本人 ...

  3. 开发 Windows Mobile 应用程序: FAQ

    常见问题 问:什么是 Windows Mobile? 答:Windows Mobile 是 Microsoft 用于 Pocket PC 和 Smartphone 的软件平台.Windows Mobi ...

  4. 基于Windows CE的超市预收款系统

    1 概 述 为了缓解销售旺季收款台的压力,节省顾客的时间,以吸引更多顾客,本文设计一种超市预收款系统.当顾客排队交款时,在一定位置由两到三人组成临时收款台,扫描商品并装袋,装袋完毕后扫描包装条码并将包 ...

  5. 基于Windows Mobile 2003 的 Pocket PC 为开发人员提供的新功能(转)

    对于 Pocket PC 用户和开发人员来说,基于 Microsoft® Windows Mobile® 2003 的 Pocket PC 是一个非常重要的里程碑.Pocket PC 2003 基于新 ...

  6. Windows CE的学习路线

    Q:什么是嵌入式系统? 国际电气和电子工程师协会(IEEE)对嵌入式系统的定义是这样的:嵌入式系统是"控制.监视或者辅助设备.机器和车间运行的装置"(Devices   used ...

  7. 基于 Windows Mobile 的 Pocket PC 和 Smartphone 的开发工具简介

    Microsoft Corporation 2003 年 8 月 适用于:     Microsoft® eMbedded Visual Tools 3.0 - 2002 Edition     Mi ...

  8. Windows CE在嵌入式工业中的应用思考

    随着应用对象的扩大和微电子技术.软件技术的发展,嵌入式系统逐渐从单片机发展到高性能嵌入式微处理器和嵌入式操作系统.本文详细分析Windows CE 3.0的实时性.通用性.模块化.Win32兼容等性能 ...

  9. Windows CE在嵌入式工业控制系统中的应用思考

    随着应用对象的扩大和微电子技术.软件技术的发展,嵌入式系统逐渐从单片机发展到高性能嵌入式微处理器和嵌入式操作系统.本文详细分析Windows CE 3.0的实时性.通用性.模块化.Win32兼容等性能 ...

最新文章

  1. JAVA基础12-继承(3)
  2. commont-net.jar 代码结构图
  3. Telnet连接详细步骤
  4. 【面试】Java集合篇--图解HashMap的put方法的具体流程
  5. 需求工程阅读笔记03
  6. 计算机应用基础课程编制标准,计算机应用基础课程标准.doc
  7. 基于Doxygen的C/C++注释原则
  8. 关于配置了数据库方言为MySQLInnoDBDialect后Hibernate不能自动建表的问题
  9. 【Stanford CNN课程笔记】5. 神经网络解读1 几种常见的激活函数
  10. 越狱相关三:OpenSSH
  11. Apifox测试Excel文件上传
  12. 借助JavaCV实现android手机查看PC摄像头实时视频
  13. STM8 的汇编学习
  14. 全志平台Android系统wifi模组rtl8188eu移植调试记录
  15. stc32G库函数(二)——定时器
  16. 【大数据开发】SparkStreaming——DStream输入源、原语、SparkStream与Kafka和Redis三者的交互
  17. tewa-800g请输入正确的管理员账户_tp-link路由器如何设置管理员身份绑定 路由器设置管理员身份绑定方法【介绍】...
  18. Java 11中的新功能和API详解系列1
  19. Spring Cloud学习笔记(三)
  20. Java 使用XmlUtil解析Xml

热门文章

  1. C# 4.0中对Office编程的预览和对可选参数的体验
  2. 知识整理(你想要的Linux知识都在这里)
  3. 智能工厂系统架构图_一些智能化弱电系统架构图,做方案可以用
  4. 文章id 文章标题点击量php,zblogphp函数:GetPost 获取指定ID/标题/别名的文章或页面数据...
  5. Hadoop系列-分布式集群
  6. 2021年CBA总决赛第三场预测
  7. java字符串abcde_java aababcabcdabcde,获取字符串中每一个字母出现的次数
  8. 杂:(4)NE555
  9. 通过radius给ppp客户端分配ip地址
  10. Linux netfilter源码分析(3)