dbTalk Databases Forums  

Exec Package Task fails - why?

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


Discuss Exec Package Task fails - why? in the microsoft.public.sqlserver.dts forum.



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

Default Exec Package Task fails - why? - 03-03-2004 , 06:06 PM






I have a DTS package called "Package A". It contains an Execute Package Task which calls "Package B". Package A is scheduled via SQL Agent. When the job runs, it fails at the time Package B is called - the DTS log shows that Package A started "execute package task", but Package B has not started. SQL Agent log says

"Executed as user: HOSYD\admin_sql. ...Start: DTSStep_DTSActiveScriptTask_1 DTSRun OnFinish: DTSStep_DTSActiveScriptTask_1 DTSRun OnStart: DTSStep_DTSActiveScriptTask_2 DTSRun OnFinish: DTSStep_DTSActiveScriptTask_2 DTSRun OnStart: DTSStep_DTSDynamicPropertiesTask_1 DTSRun OnFinish: DTSStep_DTSDynamicPropertiesTask_1 DTSRun OnStart: DTSStep_DTSExecutePackageTask_1 DTSRun OnProgress: DTSStep_DTSExecutePackageTask_1; DTSStep_DTSExecutePackageTask_1: DTSStep_DTSDataPumpTask_1: 1000 Rows have been transformed or copied.; PercentComplete = 0; ProgressCount = 1000 DTSRun OnProgress: DTSStep_DTSExecutePackageTask_1; DTSStep_DTSExecutePackageTask_1: DTSStep_DTSDataPumpTask_1: 2000 Rows have been transformed or copied.; PercentComplete = 0; ProgressCount = 2000 DTSRun OnProgress: DTSStep_DTSExecutePackageTask_1; DTSStep_DTSExecutePackageTask_1: DTSStep_DTSDataPumpTask_1: 3000 Rows have been transformed or copied.; PercentComplete = 0; ProgressCo... Process Exit Code 255. The step failed.

I am at a loss - how could a package be successfully called for execution but never started

To preclude some suggestions I must say that I've done my KB search and made sure all packages are called by name, not by GUID, and every task is executed on the main package thread (there are some OLAP processing and dynamic properties tasks withing both packages)

Thanks in advance
Soloist

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

Default Re: Exec Package Task fails - why? - 03-04-2004 , 01:11 AM






This looks like the job step log.

Can you have both packages log to text file and we'll see if we can get a
better error from there.

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


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

Quote:
I have a DTS package called "Package A". It contains an Execute Package
Task which calls "Package B". Package A is scheduled via SQL Agent. When the
job runs, it fails at the time Package B is called - the DTS log shows that
Package A started "execute package task", but Package B has not started. SQL
Agent log says:
Quote:
"Executed as user: HOSYD\admin_sql. ...Start:
DTSStep_DTSActiveScriptTask_1 DTSRun OnFinish:
DTSStep_DTSActiveScriptTask_1 DTSRun OnStart:
DTSStep_DTSActiveScriptTask_2 DTSRun OnFinish:
DTSStep_DTSActiveScriptTask_2 DTSRun OnStart:
DTSStep_DTSDynamicPropertiesTask_1 DTSRun OnFinish:
DTSStep_DTSDynamicPropertiesTask_1 DTSRun OnStart:
DTSStep_DTSExecutePackageTask_1 DTSRun OnProgress:
DTSStep_DTSExecutePackageTask_1; DTSStep_DTSExecutePackageTask_1:
DTSStep_DTSDataPumpTask_1: 1000 Rows have been transformed or copied.;
PercentComplete = 0; ProgressCount = 1000 DTSRun OnProgress:
DTSStep_DTSExecutePackageTask_1; DTSStep_DTSExecutePackageTask_1:
DTSStep_DTSDataPumpTask_1: 2000 Rows have been transformed or copied.;
PercentComplete = 0; ProgressCount = 2000 DTSRun OnProgress:
DTSStep_DTSExecutePackageTask_1; DTSStep_DTSExecutePackageTask_1:
DTSStep_DTSDataPumpTask_1: 3000 Rows have been transformed or copied.;
PercentComplete = 0; ProgressCo... Process Exit Code 255. The step
failed."
Quote:
I am at a loss - how could a package be successfully called for execution
but never started?

To preclude some suggestions I must say that I've done my KB search and
made sure all packages are called by name, not by GUID, and every task is
executed on the main package thread (there are some OLAP processing and
dynamic properties tasks withing both packages).
Quote:
Thanks in advance,
Soloist



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

Default Re: Exec Package Task fails - why? - 03-04-2004 , 08:51 PM



Allan

Thank you for the reply. It inspired me to look deeper into dts logs. I found that a particular step failed which caused the whole job to report a failure. However, the reason for the failure is still a mystery to me

The failed task is an Analysis Services Processing Task, which is set to LOCALHOS\MyOLAPDatabase\Dimensions - Rebuild Dimension Structure. After rebuilding dimensions for about 1 hour 30 minutes, it fails with the following message

Step Error Source: Analysis Services Processing Task
Step Error Description:Invalid processing option
Step Error code: 8004021D
Step Error Help File:
Step Error Help Context ID:1000440

Nevertheless, the dimensions seem to be rebuilt and the cubes are available after just data refreshing processing

Any help would be highly appreciated

Soloist

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

Default Re: Exec Package Task fails - why? - 03-05-2004 , 12:37 AM



There used to be this problem

http://support.microsoft.com/default...b;EN-US;246015

Can you process the cube manually?

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


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

Quote:
Allan,

Thank you for the reply. It inspired me to look deeper into dts logs. I
found that a particular step failed which caused the whole job to report a
failure. However, the reason for the failure is still a mystery to me.
Quote:
The failed task is an Analysis Services Processing Task, which is set to
LOCALHOS\MyOLAPDatabase\Dimensions - Rebuild Dimension Structure. After
rebuilding dimensions for about 1 hour 30 minutes, it fails with the
following message:
Quote:
Step Error Source: Analysis Services Processing Task
Step Error Description:Invalid processing option
Step Error code: 8004021D
Step Error Help File:
Step Error Help Context ID:1000440

Nevertheless, the dimensions seem to be rebuilt and the cubes are
available after just data refreshing processing.

Any help would be highly appreciated.

Soloist



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.