如何安装 SQL 服务器管理对象

How to install SQL Server Management Objects

重新安装系统后,我尝试使用 SQL Azure Batch 备份工具获取数据库副本。另外,我安装了 SQL Server 2016 SP1 Express。

但是,当我尝试 运行 备份工具时,它告诉我

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

经过一番谷歌搜索后,我发现 Microsoft.SqlServer.SmoSQL 服务器管理对象 之一。美好的。可以理解,这不会与 SQL Express 一起安装。那么我可以自己安装吗?

Apparently "If you want to ensure that SQL Server Management Objects is installed on a computer that will run your application, you can use the Shared Management Objects .msi in the SQL Server feature pack.

所以我按照那个 link 进入了一个页面,该页面为我提供了 6 个不同的 .msi 下载,none 其中名称中有类似 "shared management objects" 或 "sql server feature pack" 的内容.

任何人都可以指出安装这些 SQL 服务器管理对象 与 SQL Server 2016 SP1 Express 兼容的安装程序的方向吗?

要将在 SQL Azure 上创建的 bacpac 恢复到本地 SQL Server Express 实例,请下载最新版本的 SQL Server Management Studio,然后将 bacpac 下载到您的PC,然后按照 this 文章中提供的步骤进行操作。

希望对您有所帮助。

此致,

阿尔贝托·莫里略

如果向下滚动下载列表,您将看到更多下载和 "ENU\x64\SharedManagementObjects.msi"。