Visual Studio 2010: Can't create new connection to SQL Server Compact 4.0

我的梦境 提交于 2019-12-08 08:49:11

问题


I have just installed SQL Server Compact Edition 4.0 on my Windows 7 machine. (Note that I already had SQL Server Compact 3.5 SP2 on the machine).

However, in my Visual Studio 2010 project, I am unable to create a new connection to a SQL Server Compact Edition 4.0 database... i.e. - by doing the following:

  • In Server Explorer, right click "Data Connections"
  • "Add Connection"
  • "Change Data Source" - Microsoft SQL Server Compact 4.0 not an option (only version 3.5)

How can I make Visual Studio 2010 know about my already installed copy of Microsoft SQL Server Compact 4.0?


回答1:


See

  • SQL Server Compact 4.0 Tooling Support in Visual Studio 2010 SP1 and Visual Web Developer Express 2010 SP1

and

  • Visual Studio 2010 Service Pack 1 with support for SQL Server Compact 4.0 released

Do you have VS2010 SP1 installed?

If not - download it from here



来源:https://stackoverflow.com/questions/10948110/visual-studio-2010-cant-create-new-connection-to-sql-server-compact-4-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!