dbTalk Databases Forums  

Remotely activating DTS - ODBC 'client program' fails to start?

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Remotely activating DTS - ODBC 'client program' fails to start? in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kim Noer
 
Posts: n/a

Default Remotely activating DTS - ODBC 'client program' fails to start? - 09-06-2004 , 08:06 AM






Hi there...

I'm trying to extract from a Sybase SQL Anywhere 5.0 database, and dump it
into a table on the MSSQL server. It works perfectly when I activate the DTS
package, directly on the server, but if I use a vbscript to do so, it fails
to start up the client program, which is needed for Sybase connection.

How do I get DTS to start up the client program when the package is remotely
activated?

--
I doubt, therefore I might be.



Reply With Quote
  #2  
Old   
Jéjé
 
Posts: n/a

Default Re: Remotely activating DTS - ODBC 'client program' fails to start? - 09-06-2004 , 08:56 AM






do you strts your package under a valid NT user?
if you start through a service, generally a service run under the system
account, like the SQL Serve agent, so change the account to use a valid user
account which can access local and remote ressources.


"Kim Noer" <kn (AT) nospam (DOT) dk> a écrit dans le message de news:
u4%23CbJBlEHA.3968 (AT) TK2MSFTNGP11 (DOT) phx.gbl...
Quote:
Hi there...

I'm trying to extract from a Sybase SQL Anywhere 5.0 database, and dump it
into a table on the MSSQL server. It works perfectly when I activate the
DTS
package, directly on the server, but if I use a vbscript to do so, it
fails
to start up the client program, which is needed for Sybase connection.

How do I get DTS to start up the client program when the package is
remotely
activated?

--
I doubt, therefore I might be.





Reply With Quote
  #3  
Old   
Darren Green
 
Posts: n/a

Default Re: Remotely activating DTS - ODBC 'client program' fails to start? - 09-06-2004 , 11:20 AM



DTS packages execute on the client. This of course depends on how you
exceute the package, but if using VBScript and teh object model to call
LoadFromSQLServer then the package executes on machine which you run the
VBScript on, and under the crededntials of the user who started the
VBScript.

So does that local machine have the correct drivers installed, and does the
executing user have permissions.


--
Darren Green
http://www.sqldts.com
"Kim Noer" <kn (AT) nospam (DOT) dk> wrote

Quote:
Hi there...

I'm trying to extract from a Sybase SQL Anywhere 5.0 database, and dump it
into a table on the MSSQL server. It works perfectly when I activate the
DTS
package, directly on the server, but if I use a vbscript to do so, it
fails
to start up the client program, which is needed for Sybase connection.

How do I get DTS to start up the client program when the package is
remotely
activated?

--
I doubt, therefore I might be.





Reply With Quote
  #4  
Old   
Kim Noer
 
Posts: n/a

Default Re: Remotely activating DTS - ODBC 'client program' fails to start? - 09-07-2004 , 06:56 AM



"Darren Green" <darren.green (AT) reply-to-newsgroup-sqldts (DOT) com> wrote in
message news:u5XFd2ClEHA.1652 (AT) TK2MSFTNGP09 (DOT) phx.gbl
Quote:
DTS packages execute on the client. This of course depends on how you
exceute the package, but if using VBScript and teh object model to
call LoadFromSQLServer then the package executes on machine which you
run the VBScript on, and under the crededntials of the user who
started the VBScript.
Actually it is LoadFromSQLServer I'm using to start the packages - but I was
hoping that the packages ran on the server, and all the client did was just
asking for that.

So that's what I want - I want to be able to have a vbscript on the client
machines, which executes the packages on the server. Currently I've found a
way by using psexec - but I would really like to have it all in the script.
Is that possible?

Quote:
So does that local machine have the correct drivers installed, and
does the executing user have permissions.
Yes of course - I completely forgot about that.

--
I doubt, therefore I might be.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.