dbTalk Databases Forums  

Running DTS from access error

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


Discuss Running DTS from access error in the microsoft.public.sqlserver.dts forum.



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

Default Running DTS from access error - 01-12-2005 , 02:39 PM






I'm running a dts package from an ACCESS2000 ADP with the following code

Dim dtsp As New DTS.Package
dtsp.LoadFromSQLServer _
ServerName:="xxfs001", _
ServerUserName:="sa", _
ServerPassword:="xyzsde", _
PackageName:="DTSprojectimport"
dtsp.Execute

I'm unable to run the same package from an other workstation that has the
ADP local using ACCESS 97. Is it because it doesn't have SQL enterprise
installed ? or is it because of the access version or Both ? how can I
resolve that I tried to registered DTSPKG.dll using regsvr32 on the target
workstation but it fail saying "the specified process is not found"
(translation from french)

thanks for your help

FRED

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Running DTS from access error - 01-12-2005 , 02:49 PM






OK you will need more than just that dll

Redistributing DTS with your program
(http://www.sqldts.com/default.aspx?225)

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


"FRED" <FRED (AT) discussions (DOT) microsoft.com> wrote

Quote:
I'm running a dts package from an ACCESS2000 ADP with the following code

Dim dtsp As New DTS.Package
dtsp.LoadFromSQLServer _
ServerName:="xxfs001", _
ServerUserName:="sa", _
ServerPassword:="xyzsde", _
PackageName:="DTSprojectimport"
dtsp.Execute

I'm unable to run the same package from an other workstation that has the
ADP local using ACCESS 97. Is it because it doesn't have SQL enterprise
installed ? or is it because of the access version or Both ? how can I
resolve that I tried to registered DTSPKG.dll using regsvr32 on the target
workstation but it fail saying "the specified process is not found"
(translation from french)

thanks for your help

FRED



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.