dbTalk Databases Forums  

Running a DTS Package in C# App with Process Cube Task

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


Discuss Running a DTS Package in C# App with Process Cube Task in the microsoft.public.sqlserver.dts forum.



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

Default Running a DTS Package in C# App with Process Cube Task - 08-01-2005 , 01:15 PM






I'm creating an application that runs a DTS package with an "Analysis
Services Processing Task" in the package. When I run the package in the main
thread, it runs fine. However when I try to run the package via a separate
thread (preferred so the application isn't "frozen") it won't even load. It
is definitely due to the OLAP task, for if I remove that task from the
package, it runs fine in a multi-threaded environment. I have done
exhaustive searching on the web, etc... and no luck. I've seen a few posts
about "execute in main thread", and I have set that property as well, with no
luck (the package won't even load, to be able to re-set it before executing).

I'd appreciate any feedback you can give.

Thanks,
John

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

Default Re: Running a DTS Package in C# App with Process Cube Task - 08-01-2005 , 02:37 PM






In message <AB01A06A-29AE-4585-A32F-52D3D65F1C72 (AT) microsoft (DOT) com>,
jgharper <jgharper (AT) discussions (DOT) microsoft.com> writes
Quote:
I'm creating an application that runs a DTS package with an "Analysis
Services Processing Task" in the package. When I run the package in the main
thread, it runs fine. However when I try to run the package via a separate
thread (preferred so the application isn't "frozen") it won't even load. It
is definitely due to the OLAP task, for if I remove that task from the
package, it runs fine in a multi-threaded environment. I have done
exhaustive searching on the web, etc... and no luck. I've seen a few posts
about "execute in main thread", and I have set that property as well, with no
luck (the package won't even load, to be able to re-set it before executing).

I'd appreciate any feedback you can give.

Thanks,
John
The OLAP Processing task is written in VB6, which has no support for
this fancy thread stuff. I don't understand it fully, but a simple
example is the OLAP task must be set to execute on the main package
thread else it throws up. Sounds like you program is introducing a
thread issue which it cannot handle.

DTS Package Fails with Dynamic Properties Task and OLAP Processing Task
(http://support.microsoft.com/default...b;en-us;282966)


INF: Analysis Services Processing Task May Not Execute Correctly
(http://support.microsoft.com/default...b;en-us;296533)


--
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
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.