SMO

hi everybody,

I want to add the Microsoft.Server.smo.dll to my VS 2003 .net project.
However, when I try to do just that, I get an exception
(A reference to Microsoft.SqlServer.Smo.dll could not be added.
 this is not a valid assembly or COM component etc).

Any idea

Ozbourn





Answer this question

SMO

  • dagjo

    now let me put this way

    i have visual studio 2003 and i have also installed Framework 2.0

    I have installed SQL Express 2005

    and i want to build an application on VS 2003 which uses SQL Express 2005

    what are the requirment



  • Ramiro Escobar

    Sorry, but SMO can only be used in VS2005.

  • Ted Ekeroth

    SMO requires the .NET 2.0 framework.  VS 2003 uses the version 1.1 .NET framework, so the project references in VS 2003 refer to the .NET 1.1 system* assemblies by default.

    It would be best to use a VS 2005 framework for .NET 2.0 projects since it understands .NET 2.0 very well. 

  • SMO