I am trying to write a .NET program so I can execute a Dts pacakge but I cannot find the Microsoft.SqlServer.ManagedDTS.dll reference so I can then use the namespace Microsoft.SqlServer.Dts.Runtime.
However I have SQL Server 2008 Developer edition installed on my development machine along with Visual Studio 2008 and 2010. Therefore it should be there, What have I missed?
Many thanks
Mike
Step1--> Run --> type C:\Windows\assembly\gac_msil. You will find a folder like Microsoft. SqlServer. ManagedDTS.
SqlServer. Types. dll from its location in C:\Windows\assembly\GAC_MSIL.
The Microsoft. SqlServer. Dts. Runtime namespace contains the classes and interfaces to create packages, custom tasks, and other package control flow elements.
In References, browse to this directory:
C:\Program Files\Microsoft SQL Server\90\SDK\Assemblies
hopefully you'll find it there.
The above was for SQL Server 2005. It should be located in your GAC. Have a look in:
C:\Windows\assembly
for the DLL as Visual Studio won't list all of the DLLs so you'll have to browse to it.
For Windows 7 "Microsoft.SqlServer.ManagedDTS" can be found in following path
"C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SqlServer.ManagedDTS\"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With