In essence Yes. If you are using the DTS object model then you will need to distribute it and the simplest way is the client.
If you are running a remote DTS proccess then you will need ODBC connectivity to the server. This just needs the SQL ODBC drivers (again on the client install).
my problem is here is my code and it doesnot have any ODBC connectivity.I need to install this application on user system who doesnot have sqlserver client.
Public Function ExecutePackage() As Boolean
On Error GoTo errdts
Dim oPKG As DTS.Package, oStep As DTS.Step
Set oPKG = New DTS.Package
Dim Sserver As String, sdatabase As String, sUsername As String, sPassword As String
Dim sPackageName As String, sMessage As String
Dim lErr As Long, sSource As String, sDesc As String
The problem is that you need the 'dtspkg.dll' file which is the main DTS dll. This file can only be found in the client install of SQL.
You could try Microsofts web site to see if they distribute a cut down version of their client but I think you'll find that you have no other option but to install SQL Server client on each machine that needs to run the DTS package.
PS You're right in that you don't need any ODBC connectivity, it's just that one file 'dtspkg.dll'(and its dependencies)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.