![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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... |
#3
| |||
| |||
|
|
Date: Wed, 18 Jan 2006 16:55:57 +0000 From: Nick Gilbert <NickG (AT) newsgroup (DOT) nospam User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 Subject: DTS OnProgress and OnError events do not fire when called from ASP.NET Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <ufqiOAFHGHA.208 (AT) tk2msftngp13 (DOT) phx.gbl Newsgroups: microsoft.public.sqlserver.dts,microsoft.public.do tnet.framework.aspnet NNTP-Posting-Host: neon.staging.x-rm.com 195.166.37.20 Lines: 1 Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.framework.aspnet:371798 |
|
X-Tomcat-NG: microsoft.public.sqlserver.dts 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... |
#4
| |||
| |||
|
|
First, I'd like to confirm if the issue occurs for all DTS package. Also, I'd like to know if you rasise OnProgress event in the custom task |
#5
| |||
| |||
|
|
Date: Thu, 19 Jan 2006 12:21:08 +0000 From: Nick Gilbert <NickG (AT) newsgroup (DOT) nospam User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 Subject: Re: DTS OnProgress and OnError events do not fire when called from ASP.NET References: <ufqiOAFHGHA.208 (AT) tk2msftngp13 (DOT) phx.gbl Bgq53WNHGHA.3680 (AT) TK2MSFTNGXA02 (DOT) phx.gbl In-Reply-To: <Bgq53WNHGHA.3680 (AT) TK2MSFTNGXA02 (DOT) phx.gbl Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <#3JEVLPHGHA.1452 (AT) TK2MSFTNGP11 (DOT) phx.gbl Newsgroups: microsoft.public.sqlserver.dts NNTP-Posting-Host: neon.staging.x-rm.com 195.166.37.20 Lines: 1 Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.phx.gbl Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.sqlserver.dts:63223 X-Tomcat-NG: microsoft.public.sqlserver.dts First, I'd like to confirm if the issue occurs for all DTS package. Also, I'd like to know if you rasise OnProgress event in the custom task I'm not sure I'm using a "custom task". I just created the DTS package manually by creating Data Transform tasks and workflow steps. I do get progress when I execute it manually from within enterprise manager. Nick... |
![]() |
| Thread Tools | |
| Display Modes | |
| |