SMO

hi everybody,

I want to add the Microsoft.Server.smo.dll to my VS 2003 .net project.
However, when I tryto 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

[312 byte] By [oz4000] at [2008-2-4]
# 1
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.

StevenTwitchell at 2007-9-9 > top of Msdn Tech,SQL Server,SQL Server SMO/DMO...
# 2

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?

JassimRahma at 2007-9-9 > top of Msdn Tech,SQL Server,SQL Server SMO/DMO...
# 3
Sorry, but SMO can only be used in VS2005.
AllenWhite at 2007-9-9 > top of Msdn Tech,SQL Server,SQL Server SMO/DMO...

SQL Server

Site Classified