dbTalk Databases Forums  

StandAlone DTS

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


Discuss StandAlone DTS in the microsoft.public.sqlserver.dts forum.



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

Default StandAlone DTS - 03-07-2006 , 06:48 PM






Hello.

I have a VB 6.0 program that works with DTS packages.
I have SQL 2000 installed on my pc and the program runs correctly there.
The program has been copied to another pc where SQL 2000 is not installed
but I
copied all the required DLLs and Rlls and dtsrun.exe as described in an
article I found via Google called "Redistributing DTS With Your Program".

The program is failing on the pc where SQL 2000 is not installed on the
second line of code as follows:
Dim oDTS as DTS.Package2 --- No error
Set oDTS = New DTS.Package --- Here is where the program fails

Any suggestions will be greatly appreciated!

Thanks,
Rita


Reply With Quote
  #2  
Old   
Andy Ball
 
Posts: n/a

Default Re: StandAlone DTS - 03-09-2006 , 01:39 AM






Have you checked that you have all the files as per redist.txt (as per Line
106) on the root of SQL 2000 Source CD / binaries ?

and then try and run RegSvr32 against the Dll's ie

REGSVR32 dtspkg.dll

cheers,
Andy.

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

Quote:
Hello.

I have a VB 6.0 program that works with DTS packages.
I have SQL 2000 installed on my pc and the program runs correctly there.
The program has been copied to another pc where SQL 2000 is not installed
but I
copied all the required DLLs and Rlls and dtsrun.exe as described in an
article I found via Google called "Redistributing DTS With Your Program".

The program is failing on the pc where SQL 2000 is not installed on the
second line of code as follows:
Dim oDTS as DTS.Package2 --- No error
Set oDTS = New DTS.Package --- Here is where the program fails

Any suggestions will be greatly appreciated!

Thanks,
Rita




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

Default RE: StandAlone DTS - 03-09-2006 , 06:46 AM



To be honest it sounds like you have not got the DTS component installation
right. What is the error?

--
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com


"RitaG" wrote:

Quote:
Hello.

I have a VB 6.0 program that works with DTS packages.
I have SQL 2000 installed on my pc and the program runs correctly there.
The program has been copied to another pc where SQL 2000 is not installed
but I
copied all the required DLLs and Rlls and dtsrun.exe as described in an
article I found via Google called "Redistributing DTS With Your Program".

The program is failing on the pc where SQL 2000 is not installed on the
second line of code as follows:
Dim oDTS as DTS.Package2 --- No error
Set oDTS = New DTS.Package --- Here is where the program fails

Any suggestions will be greatly appreciated!

Thanks,
Rita


Reply With Quote
  #4  
Old   
RitaG
 
Posts: n/a

Default RE: StandAlone DTS - 03-09-2006 , 01:21 PM



Hi Darren.

The error message I'm getting is
"Error Occurred in DTS: DropAndCReatePPOFOutTable.
ActiveX component can't create object."

Unfortunately it doesn't say which component is missing.

I tested the DTS package and it runs fine manually.

I then unregistered the DTS dlls that were included in my setup kit and then
registered them again and voila! - it worked!!!

Thanks for your interest.

Rita


"Darren Green" wrote:

Quote:
To be honest it sounds like you have not got the DTS component installation
right. What is the error?

--
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com


"RitaG" wrote:

Hello.

I have a VB 6.0 program that works with DTS packages.
I have SQL 2000 installed on my pc and the program runs correctly there.
The program has been copied to another pc where SQL 2000 is not installed
but I
copied all the required DLLs and Rlls and dtsrun.exe as described in an
article I found via Google called "Redistributing DTS With Your Program".

The program is failing on the pc where SQL 2000 is not installed on the
second line of code as follows:
Dim oDTS as DTS.Package2 --- No error
Set oDTS = New DTS.Package --- Here is where the program fails

Any suggestions will be greatly appreciated!

Thanks,
Rita


Reply With Quote
  #5  
Old   
RitaG
 
Posts: n/a

Default Re: StandAlone DTS - 03-10-2006 , 09:41 AM



Thanks Andy.
I unregistered the DTS dlls and reregistered them and then the program worked.

"Andy Ball" wrote:

Quote:
Have you checked that you have all the files as per redist.txt (as per Line
106) on the root of SQL 2000 Source CD / binaries ?

and then try and run RegSvr32 against the Dll's ie

REGSVR32 dtspkg.dll

cheers,
Andy.

"RitaG" <RitaG (AT) discussions (DOT) microsoft.com> wrote in message
news9DF1420-1101-4226-993D-63AF9DD805FF (AT) microsoft (DOT) com...
Hello.

I have a VB 6.0 program that works with DTS packages.
I have SQL 2000 installed on my pc and the program runs correctly there.
The program has been copied to another pc where SQL 2000 is not installed
but I
copied all the required DLLs and Rlls and dtsrun.exe as described in an
article I found via Google called "Redistributing DTS With Your Program".

The program is failing on the pc where SQL 2000 is not installed on the
second line of code as follows:
Dim oDTS as DTS.Package2 --- No error
Set oDTS = New DTS.Package --- Here is where the program fails

Any suggestions will be greatly appreciated!

Thanks,
Rita





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.