0

我安装了 Windows Server 2008 R2,然后安装了 Visual Studio 2015 和 SQL Server 2012 Express LocalDB。我将我的解决方案从另一个盒子复制到新安装的盒子并打开它。我在解决方案中有一个 .sql 文件,但是当我单击 .sql 文件以在 vs 中打开并针对 localdb 运行时,我得到以下错误:

"Could not load file or assembly 'Microsoft.SqlServer.BatchParser, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified."

我读到我需要安装需要安装 sql server 管理对象。我试过了,它说没有安装 Sql Native Client。我是不是走错了路。我需要安装 sql server 2012 express 才能让 localdb 工作吗?任何帮助将不胜感激。

4

1 回答 1

0

Installing SQL Server Data Tools in Visual Studio 2013 did the trick.

于 2016-04-05T19:33:56.090 回答