简体   繁体   English

sql server compact 3.5 和智能设备项目的问题

[英]problem with sql server compact 3.5 and smart device project

Recently i downloaded SQLServer Compact 3.5 from Microsoft web site, and i have already installed Visual Studio 2008. When i make a new Smart Device project and try to connect some Dataset to local database, the following error rises : "Error 1 Custom tool error: This operation requires a reference to SQL Server Compact 3.5. The project has a reference to a different version. Update the reference and try again."最近我从微软网站下载了 SQLServer Compact 3.5,并且我已经安装了 Visual Studio 2008。当我创建一个新的智能设备项目并尝试将一些数据集连接到本地数据库时,出现以下错误:“错误 1 ​​自定义工具错误:此操作需要引用 SQL Server Compact 3.5。该项目引用了其他版本。更新引用并重试。”

i tried reinstalling Visual Studio 2008, but it did not work.我尝试重新安装 Visual Studio 2008,但没有奏效。

I had the same problem after update SQL server compact 3.5 to SP2.将 SQL server compact 3.5 更新到 SP2 后,我遇到了同样的问题。

The solution is to uninstall SP2 and install version without Service Pack and re-add the reference to SQL CE in project解决办法是卸载SP2,安装不带Service Pack的版本,在工程中重新添加对SQL CE的引用

I had same problem, This problem is happen with SQL Compact service pack2, but you can use SP1 and use code to manipulate your database.我有同样的问题,这个问题发生在 SQL Compact service pack2,但您可以使用 SP1 并使用代码来操作您的数据库。 It had been solved.已经解决了。

删除对 SQL CE 的现有项目引用,关闭项目,重新打开项目并重新添加引用。

I am unable to connect symbol HHT device to SQL server compact 3.5. 我无法将符号HHT设备连接到SQL Server Compact 3.5。 I am using windows 7 64 bit... Windows system detected device but when I am trying to connect with SQL server compact then ado.net error is displaying. 我正在使用Windows 7 64位... Windows系统检测到设备,但是当我尝试与SQL Server Compact连接时,显示ado.net错误。 Any body is there to help please.. 任何机构都可以帮助您。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM