dbTalk Databases Forums  

"Execution was canceled by user" error from within stored procedure

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


Discuss "Execution was canceled by user" error from within stored procedure in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tomek R.
 
Posts: n/a

Default "Execution was canceled by user" error from within stored procedure - 09-04-2003 , 10:54 AM






Hi !

Is anyone has any idea why it happends ?
That's my story:
package A invokes package B (as execute package task) and this invokes
package C (as execute package task), which consits several tasks. Among them
there is a group tasks, where every task is an execution of another package
(lets call them Y1, Y2 ...). In every of "Y-type" package there is execution
of external program.

This ambigeus construction works, when runs from Enterprise Manager or via
DTSRun.
But it fails, when I try to run it from within stored procedure (where
package A is loaded and executed using sp_OAxx procedures). After many
experiments I know as follows:
a) the error is generated by any task called after completion od Y1 task
(execution of package with external program).
b) there is a difference in behaviour of that, when execution package task
is replaced by Active X script, with code loading and executing package.

Does execution in package main thead matter ? I set it for all tasks and
can't see the difference.

Any help will be appreciated.

P.S.
1. SQL server runs on regular windows (with admin rights) rather then
LocalSystem account.
2. I'm executing my proc from Query Analyzer.
--
Tomek Romanowski



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.