dbTalk Databases Forums  

DTS OLAP Package in VB

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


Discuss DTS OLAP Package in VB in the microsoft.public.sqlserver.dts forum.



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

Default DTS OLAP Package in VB - 11-17-2003 , 10:36 AM






Hi All,

I have exported a DTS Package to a VB Module that contains an Analysis Server Process Cube Task. When I try to execute it in VB I get an object not defined error for "DTSOlapProcess.Task". I know I am missing a reference in VB but I cannot find the Library I am missing. Any help would be appreciated.

Thanks
John


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

Default Re: DTS OLAP Package in VB - 11-18-2003 , 04:58 PM






In article <AF92DB3C-74FC-4976-B433-E537AB03BD4D (AT) microsoft (DOT) com>, JohnMcL
<wk1s (AT) aol (DOT) com> writes
Quote:
Hi All,

I have exported a DTS Package to a VB Module that contains an Analysis
Server Process Cube Task. When I try to execute it in VB I get an
object not defined error for "DTSOlapProcess.Task". I know I am
missing a reference in VB but I cannot find the Library I am missing.
Any help would be appreciated.

Thanks
John
The reference you need is DTSOlapProcess.

If you have trouble finding the reference check for the Dll.

SQL 2000
x:\Program Files\Microsoft Analysis Services\Bin\msmdtsp.dll

SQL 7.0
x:\winnt\system32\DTSAddin.dll

You must have installed the AddIn (SQL 7.0) or the AS client (SQL 2000)
locally on you machine.


--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
  #3  
Old   
JohnMcL
 
Posts: n/a

Default Re: DTS OLAP Package in VB - 11-19-2003 , 10:06 AM





----- Darren Green wrote: ----

In article <AF92DB3C-74FC-4976-B433-E537AB03BD4D (AT) microsoft (DOT) com>, JohnMcL
<wk1s (AT) aol (DOT) com> write
Quote:
Hi All

I have exported a DTS Package to a VB Module that contains an Analysis
Server Process Cube Task. When I try to execute it in VB I get an
object not defined error for "DTSOlapProcess.Task". I know I am
missing a reference in VB but I cannot find the Library I am missing.
Any help would be appreciated

Thank
Joh
The reference you need is DTSOlapProcess

If you have trouble finding the reference check for the Dll

SQL 200
x:\Program Files\Microsoft Analysis Services\Bin\msmdtsp.dl

SQL 7.
x:\winnt\system32\DTSAddin.dl

You must have installed the AddIn (SQL 7.0) or the AS client (SQL 2000)
locally on you machine


--
Darren Green (SQL Server MVP
DTS - http://www.sqldts.co

PASS - the definitive, global community for SQL Server professional
http://www.sqlpass.or


Thanks Darren

That was it.....it was even in the list but I guess I was looking for "Microsoft DTS........." something or other. Works like a charm now. Thanks again

Joh




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.