Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > DTS OnProgress and OnError events do not fire when called from ASP.NET

Reply
Thread Tools

DTS OnProgress and OnError events do not fire when called from ASP.NET

 
 
Nick Gilbert
Guest
Posts: n/a
 
      01-18-2006
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 to fire. The OnProgress and OnError events do not fire. If I cause
an error on purpose, a COMException is thrown.

I would really like to handle the OnProgress and OnError events. Can
somebody please tell me if there is a way to get these to work.

Thanks,

Nick...
 
Reply With Quote
 
 
 
 
Kevin Yu [MSFT]
Guest
Posts: n/a
 
      01-19-2006
Hi Nick,

I tried it on my machine in ASP.NET 1.1. Well, it works fine. I can handle
both OnProgress and OnError event. Did you used the C# delegate to handle
the event or followed KB article to achieve this?

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

 
Reply With Quote
 
 
 
 
Nick Gilbert
Guest
Posts: n/a
 
      01-19-2006
> I tried it on my machine in ASP.NET 1.1. Well, it works fine. I can handle
> both OnProgress and OnError event. Did you used the C# delegate to handle
> the event or followed KB article to achieve this?


I used the exact code from the KB article I mentioned, but the only
event that ever fires is the OnQueryCancel() event.

Nick...
 
Reply With Quote
 
Kevin Yu [MSFT]
Guest
Posts: n/a
 
      01-20-2006
Hi Nick,

This is really weird. Did you set some breakpoints in the event handler and
reproed that? If the same code is put in a console app or winform app, does
it still work?

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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it onerror or onError? test9991014@yahoo.com Javascript 12 03-27-2008 12:38 PM
FA: DTS THE SHADOW ltbx LD, DTS DAZED & CONFUSED Crit. DVD, Criterion BOOGIE NIGHTS LD J Rusnak DVD Video 0 12-28-2006 05:30 PM
FA: DTS ANACONDA Superbit, Factory-Sealed DEEP RISING dvds, DTS CARLITO'S WAY ld J Rusnak DVD Video 0 04-11-2006 02:30 AM
The Jackal (1998) DTS vs non-DTS Aphelion DVD Video 2 04-07-2005 01:44 AM
Re: Matrix DTS and Matrix 2 DTS? PeterTHX DVD Video 0 08-03-2003 05:46 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57