Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I distribute and install SQL Server Server Management Objects with my application? [closed]

For an application, I am building, I want to use SQL Server Managentment Objects.

Am I allowed to distribute and install SMO DLL's with my application?

The application requires a SQL Server installation (and therefore license), but not necessarily on the same server (ie my app on one PC, connecting to SQL Server on another).

After spending 30 minutes searching for the answer, I have found many - and contradicting - answers...

like image 965
Kjensen Avatar asked Jan 18 '23 00:01

Kjensen


1 Answers

From MSDN, Installing SMO.

To install the Client Tooks SDK without installing SQL Server, install Shared Management Objects from the SQL Server 2008 R2 feature pack. If you want to ensure that SQL Server Management Objects is installed on a computer that will run your application, you can use the Shared Management Objects .msi in the feature pack.

Yes, you can install them, but you have to use the right installation vehicle, the .msi - I.e. don't just copy the assemblies from a machine with SQL Server installed.

like image 131
Damien_The_Unbeliever Avatar answered Jan 27 '23 06:01

Damien_The_Unbeliever