using Microsoft.Sqlserver.Dts.Runtime;
But I got compilation error:
The type or namespace name 'Dts' does not exist in the namespace 'Microsoft.Sqlserver'(are you missing an asssembly reference?)
What am I missing?
Thanks a lotHave you, in fact, set a reference to Microsoft.SqlServer.ManagedDTS ? This is the assembly that contains the Dts.Runtime namespace.
-Doug|||How do I set a reference to ManagedDTS? by writting:
using Microsoft.SqlServer.ManagedDTS
?
In this case ManagedDTS can not be found by compiler
Thanks for the hint|||Please consult the Books Online for support. For example, the following article mentions what DLLs need to be registered:
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/dtsref9/html/e44bcc70-32d3-43e8-a84b-29aef819d5d3.htm
regards,
ash|||found the solution: from visual studio, click Project->Add reference, then browse the assembly ManagedDTS.dll at directory c:\program files\microsoft sql server\90\SDK\Assemblies, this willl add ManagedDTS.dll to the project and solve the problem.
Thanks everyone!|||
Hello,
if you get this problem on your server. build your site in release mode and then you have this dll in your bin\release folder.
Either find this DLL and upload that in your server bin directory manually
No comments:
Post a Comment