Could not load file or assembly 'Microsoft.SqlServer.Smo, Version=13.0.0.0

Vijay Kattamuri 1 Reputation point
2021-07-12T11:06:42.94+00:00

Hi,

Backup team trying to perform SQL server backup using TSM backup method and getting below error:

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

Windows OS: 2019
MSSQL Version: 2019

Regards,
Vijay
SAP BASIS

SQL Server Other
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Taylor 60,161 Reputation points
    2021-07-12T14:17:12.547+00:00

    SMO is the server management library. v13 is the SQL2016 version IIRC. Why it would be trying to use that on SQL2019 is a little confusing.

    Nevertheless download and install the SMO library for SQL 2016 (I believe it is in the Feature Pack) and try again.

    More long term I'd wager that your backup system needs to be updated to SQL 2019 but I'm just guessing here.

    0 comments No comments

  2. AmeliaGu-MSFT 14,006 Reputation points Microsoft External Staff
    2021-07-13T02:08:39.963+00:00

    Hi VijayKattamuri-7724,

    Welcome to Microsoft Q&A.
    Please try to download and install the SQL Shared Management Objects (SMO) 13 from SQL Server 2016 Service Pack 2 Feature Pack (The file is called SharedManagementObjects.msi).

    Best Regards,
    Amelia


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.