microsoft.sqlserver.smo not found

hotmail.com bangu00 171 Reputation points
2021-06-21T02:13:40.997+00:00

Deal all,
i have a problem with package microsoft.sqlserver.smo as below
107300-image.png

my system not listed any one the packages under c:\windows\assemblty\
what is package showing under c:\windows\assemblty\

thank you

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,335 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,141 questions
0 comments No comments
{count} votes

Accepted answer
  1. Seeya Xi-MSFT 16,461 Reputation points
    2021-06-21T07:14:58.41+00:00

    Hi @hotmail.com bangu00 ,

    >what is package showing under c:\windows\assemblty\

    C:\WIndows\Assembly folder is the Global Assembly Cache (GAC) used by . NET Run time. Generally, it is advisable to use the . NET command gacutil ( https://learn.microsoft.com/en-us/dotnet/framework/tools/gacutil-exe-gac-tool) to manage the contents of this folder.

    > my system not listed any one the packages under c:\windows\assemblty\

    Please refer to this about SMO: https://learn.microsoft.com/en-us/sql/relational-databases/server-management-objects-smo/overview-smo?view=sql-server-ver15
    This page provides information on how to install SMO for use by applications and the system requirements to use SMO.
    https://learn.microsoft.com/en-us/sql/relational-databases/server-management-objects-smo/installing-smo?view=sql-server-ver15

    Best regards,
    Seeya


    If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar queries.
    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

2 additional answers

Sort by: Most helpful
  1. Olaf Helper 43,166 Reputation points
    2021-06-21T06:04:16.897+00:00

    Not clear what your issue is, but it seems SMO = "Server Management Objects" isn't installed. You can get it from related SQL Server Feature Pack, e.g. from
    Microsoft® SQL Server® 2016 Service Pack 2 Feature Pack => SharedManagementObjects.msi

    0 comments No comments

  2. hotmail.com bangu00 171 Reputation points
    2021-06-22T00:30:53.903+00:00

    dear all
    thanks a lot

    0 comments No comments