SQL Server Developer Center > SQL Server Forums > SQL Server Tools > SQL 2008: Missing Microsoft.SqlServer.SmoEnum.dll

Answered SQL 2008: Missing Microsoft.SqlServer.SmoEnum.dll

  • Friday, January 09, 2009 6:55 PM
     
     
    I'm unable to find:

    C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies\Microsoft.SqlServer.SmoEnum.dll

    Per the MSDN Library, it should have been installed as part of SQL Server installation: http://msdn.microsoft.com/en-us/library/ms162161.aspx

    Am I misunderstanding something?

    Thanks in advance.

Answers

  • Friday, January 09, 2009 7:55 PM
     
     Answered
    Sreekar:

    I'm trying those out now.  Hopefully, I can get it to work.

    Thanks for your help.  If this solution works, I will mark it as answered.
    • Marked As Answer by YoungOne Friday, January 09, 2009 8:16 PM
    •  

All Replies

  • Friday, January 09, 2009 7:06 PM
     
     
    Hi

    Microsoft.SqlServer.SmoEnum.dll is available in SQL Server 2005 and is removed from SQL Server 2008. If you have a SQL Server 2005 installed in any machine, it would be under C:\Program Files\Microsoft SQL Server\90\SDK\Assemblies folder But the dll wont be available in the C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies directory.


    the link in msdn shows the wrong directory. Thanks for pointing out.

    Thanks
    Sreekar
    SQL Server Manageability
  • Friday, January 09, 2009 7:26 PM
     
     
    Sreekar:

     What are my options since I cannot install SQL 2005 on this server?  Is there a "replacement" dll?  The C# program I'm using is referencing "Urn" and that would be found in that dll.

    Thanks,

    Lisa
  • Friday, January 09, 2009 7:42 PM
     
     Proposed Answer
    Hi

    Microsoft.SqlServer.SmoExtended.dll
    Microsoft.SqlServer.Management.Sdk.Sfc.dll

    Above dlls are newly added in SQL Server 2008 which might be useful for your case.

    The other dlls useful for your case in both versions are

    Microsoft.SqlServer.Smo.dll
    Microsoft.SqlServer.SqlEnum.dll

    Thanks
    Sreekar
    • Proposed As Answer by SREEKAR M Wednesday, January 14, 2009 3:31 PM
    •  
  • Friday, January 09, 2009 7:55 PM
     
     Answered
    Sreekar:

    I'm trying those out now.  Hopefully, I can get it to work.

    Thanks for your help.  If this solution works, I will mark it as answered.
    • Marked As Answer by YoungOne Friday, January 09, 2009 8:16 PM
    •  
  • Saturday, January 10, 2009 8:15 PM
     
     
    Hi

    Can you please reply if the above dll worked out whether it is available in SQL Server 2008 or not?

    Thanks
    Sreekar
  • Tuesday, January 13, 2009 11:43 PM
     
     
    It did work.  (I had said in my previous post that I would mark this question "answered" if the dll worked.)

    Thanks for checking.