473,467 Members | 1,596 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How do I capture DTS OnProgress events from Execute Package tasks?

My goal is to execute a DTS package that calls multiple child DTS packages
from a C# (2003) app and display the progress of the entire process to the
user.

I have followed the model defined in this knowledge base article. (
http://support.microsoft.com/?id=319985 ) to execute a DTS package and
monitor it's events. I'm not able to capture the events from a child package
that is called from an Execute Package task.

I've seen a few different writeups on the web that say it can't be done, and
some that say you need to create custom tasks on the main thread to capture
these events. I assume that this can be done because when I execute the
parent package through dtsrun, it returns output that reads "OnProgress" and
displays info about the child package.

Does anyone have an example of one of these custom tasks or have another
alternative solution?

Thanks
Rich
Jul 21 '05 #1
2 2892
Hi Rich,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to display progress of a DTS
package which contains some child packages. If there is any
misunderstanding, please feel free to let me know.

As far as I know, the child DTS events cannot be get in C#. Because the
parent DTS package was executed without break. And the DTSPackage COM
library didn't expose that use us. So the whole execution progress of the
DTS package is transparent to us. We cannot get child events.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #2
Thanks.

"Kevin Yu [MSFT]" wrote:
Hi Rich,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to display progress of a DTS
package which contains some child packages. If there is any
misunderstanding, please feel free to let me know.

As far as I know, the child DTS events cannot be get in C#. Because the
parent DTS package was executed without break. And the DTSPackage COM
library didn't expose that use us. So the whole execution progress of the
DTS package is transparent to us. We cannot get child events.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Kate | last post by:
I am learning VB by working on an existing application. It is dawning on me that this particular program was not designed very carefully, and I have come to the point where I have to deal with...
2
by: aimee | last post by:
Hi. Is there a way to capture the events fired in a PrintDialog? I would like to capture when the user presses "Print" so I can do some cleanup. The asp.net (IE6) application I'm working on has 6...
2
by: Rich Tasker | last post by:
My goal is to execute a DTS package that calls multiple child DTS packages from a C# (2003) app and display the progress of the entire process to the user. I have followed the model defined in...
23
by: pamelafluente | last post by:
Hi guys! I want to do a large number of scheduled task (say 80). Each task can be run at a certain time every given weekday. For instance at 10am and 5pm on each monday, etc. I would like to...
3
by: Nick Gilbert | last post by:
Hi, I'm using the following code to execute a DTS package from .NET: http://support.microsoft.com/?kbid=319985 However when I run my package from ASP.NET, only the OnQueryCancel event seems...
3
by: ajherringshaw | last post by:
I'm currently building a User Interface the launchs dts packages from VB. I am trying to use a timer control to measure elapsed time(time it takes for the dts to run). Currently the timer will...
10
by: lalnamar | last post by:
I want to execute a unix time command using perl, and capture the output (specifically, the time it takes the command to execute). i tried using the system command: system("time command ");...
0
by: =?Utf-8?B?c293b3Js?= | last post by:
I create the wcf service hosted in IIS. I tried to use "Web Service Task" to call this wcf service in SSIS package. in the Http Connection manager, server url :...
5
by: =?Utf-8?B?QW50?= | last post by:
Hi, I am using a sqlCommand object to run a SP. The SP returns an output parameter that I retrieve the value of, & display. I want to use the StatementCompleted event of the command obj. to...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.