form builder was unable to read the device settings from the datastore问题解决

 

本文章主要讲的是当安装完CE6后,会发现Platform Builder for CE5的Connectivity Options不好用了,即使修改设置后点Apply也无法把新设置保存住在完全卸载CE6和VS2005后,点PB5的Connectivity Options会弹出这个错误: Platform Builder was unable to read the device settings from the Datastore.

即使把CE5和PB5完全卸载,然后再重装,改错误仍然存在。

方案一:

1、关闭pb的所有进程,确保Cepb.exe, CeSvcHost.exe (CeSvcH~1.exe) and DeviceEmulator.exe 都已停止运行。

2、备份C:\Documents and Settings\<user>\local settings\application data\microsoft\corecon文件夹。(可以不用备份,直接删除)

3、备份C:\Documents and Settings\all users\application data\microsoft\corecon\1.0\addons文件夹。(可以不用备份,直接删除)

4、在C:\Documents and Settings\all users\application data\microsoft\corecon\1.0目录下创建一个addons文件夹。

5、将C:\Program Files\<PB Install folder>\CoreCon\SDK\XSL\Addons目录下的所有.xsl问价复制到第四步中新建的文件夹下。

6、将C:\Program Files\<PB Install folder>\CEPB\bin\microsoft.platformbuilder500.servicecategory.xsl也复制到第四步中新建的文件夹下。

注意:你可能找不到\local settings目录,需要在文件夹选项中选择不隐藏系统文件即可。

注意:这里的path格式应该为"C:\Program Files\Windows CE Platform Builder\5.00",别忘了加引号。

总结:

    第一种方法我试验成功了,第二种方法不知道为什么没成功,但大家也可以借鉴一下。

方案二:

1、在命令行中进入到你的platform目录

如:C:\Program Files\Windows CE Platform Builder\5.00\CORECON\SCRIPTS\

2、依次运行以下命令:

disablecorecon <path>
unregister <path>
register <path>
enablecorecon <path>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值