开发者

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 ins开发者_运维问答talled 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."

i tried reinstalling Visual Studio 2008, but it did not work.


I had the same problem after update SQL server compact 3.5 to SP2.

The solution is to uninstall SP2 and install version without Service Pack and re-add the reference to SQL CE in project


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. It had been solved.


Delete the existing project reference to SQL CE, close the project, re-open the project and re-add the reference.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜