Error: "Could not load file or assembly 'Microsoft.SqlServer.ConnectionInfo..."


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.

Connecting to Analysis services, you will need to download the AMO, ADOMD, MSOLAP programs.

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.

Was this article helpful?
3 out of 3 found this helpful


  • 0
    Zheng Li
  • 0
    Stuart Cuthbertson

    The link above for SQL Server 2017 states:

    "Beginning with SQL Server 2017 SMO is distributed as the Microsoft.SqlServer.SqlManagementObjects NuGet package to allow users to develop applications with SMO.

    This is a replacement for SharedManagementObjects.msi, which was previously released as part of the SQL Feature Pack for each release of SQL Server. Applications that use SMO should be updated to use the NuGet package instead and will be responsible for ensuring the binaries are installed with the application being developed."


    Can I interpret this to mean that TimeXtender are, or will soon, be bundling SMO with the Discovery Hub software, so we won't need to install it ourselves to use Discovery Hub when deploying to SS2017 instances? 

    (I am still on a slightly older version of Discovery Hub so can't test with your latest release yet.)

  • 2
    Radek Buczkowski

    It is correct that that starting with SQL Server 2017 the SMO DLLs are bundled with Discovery Hub, so you no longer need to install additional DLLs. The article only applies to SQL Server 2005, 2008, 2012, 2014, and 2016.

Article is closed for comments.