You receive the following error:
Could not load file or assembly 'Microsoft.SqlServer.ConnectionInfo[...]
You have not installed the SQL Shared Management Objects (SMO). They are needed to create tables and other SQL objects from TX, or alternatively you get this error when connecting to the Tabular model because the Analysis Services Management Objects (AMO) are missing.
Download the SQL Shared Management Objects from the SQL Server Feature Packages and install it. The download sites are linked below - the file you need is called SharedManagementObjects.msi.
- SQL Server 2017
- SQL Server 2016
- SQL Server 2014
- SQL Server 2012
- SQL Server 2008 R2
- SQL Server 2008
- SQL Server 2005
Connecting to Analysis services, you will need to download the AMO, ADOMD, MSOLAP programs.
- Microsoft Analysis Server Feature Pack 2016
- Client libraries for connecting to Azure Analysis Services
Please be aware that if you are using another version of SQL server, you must find the right version of the feature packages.
If you are deploying to multiple versions of SQL Server, you must install all the relevant versions of SMO/XMO. For example, if staging is SQL 2008 and Data Warehouse is SQL 2012, you must install both of these files.
SQL Native Client is a pre-requisite and will in most cases need to be installed first.
In some cases, you will also need to install more than one version of the Analysis Management Objects package, to resolve this error.