dbTalk Databases Forums  

Using LoadFromSQLServer fails with OLAP tasks in a package

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


Discuss Using LoadFromSQLServer fails with OLAP tasks in a package in the microsoft.public.sqlserver.dts forum.



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

Default Using LoadFromSQLServer fails with OLAP tasks in a package - 12-28-2005 , 08:35 PM






I can use LoadFromSQLServer successfully unless the target package contains
OLAP tasks, then it appears to hang this procedure.

Anyone got a workaround ?

TIA

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

Default Re: Using LoadFromSQLServer fails with OLAP tasks in a package - 01-03-2006 , 08:48 AM






Just a guess, but does the target machine (the one running the
LoadFromSQLServer program) have the OLAP Task installed? If not then I would
it expect it to error, although still not hang.


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com
"Jim Trowbridge" <JimTrowbridge (AT) discussions (DOT) microsoft.com> wrote

Quote:
I can use LoadFromSQLServer successfully unless the target package contains
OLAP tasks, then it appears to hang this procedure.

Anyone got a workaround ?

TIA



Reply With Quote
  #3  
Old   
Jim Trowbridge
 
Posts: n/a

Default Re: Using LoadFromSQLServer fails with OLAP tasks in a package - 01-03-2006 , 05:01 PM



I opened an issue with Microsoft and the reply included reference to the
thread model I was using in the DTS package (the one that had the ActiveX
script executing the LoadFromSQLServer function).

When I checked, I found that this ActiveX step did NOT have "Execute on Main
Thread" checked. Checking this option fixed the problem.

Apparently this is due to the fact that Analysis Services (and preumably
OLAP tasks in a DTS package) do not use the "free threaded" model, whatever
that means really. And this causes the conflict that results in the ActiveX
script hanging.



"Darren Green" wrote:

Quote:
Just a guess, but does the target machine (the one running the
LoadFromSQLServer program) have the OLAP Task installed? If not then I would
it expect it to error, although still not hang.


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com
"Jim Trowbridge" <JimTrowbridge (AT) discussions (DOT) microsoft.com> wrote in message
news:0F931E65-FED2-4A2F-8583-7DB7426DD129 (AT) microsoft (DOT) com...
I can use LoadFromSQLServer successfully unless the target package contains
OLAP tasks, then it appears to hang this procedure.

Anyone got a workaround ?

TIA




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.