473,473 Members | 2,222 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

DTS execution from dll

Hi,

I am executing a DTS package from asp.net. It works successfully when the
code and PackageEventsSink class declaration is in the aspx file however
when the code is compilied into a dll I get the error 'Execution was
canceled by user'.

Does anyone have any ideas as to what the problem could be?

Thanks,

Suzanne
Nov 18 '05 #1
3 1251
Are you using Events?

If you google on this message then you will see a response from Euan Garden
re: wherever you pass pbCancel ByRef then you must set it to False in the
event handler.

There are others who have had this error (JP) and have yet to find a
solution. I have yet to have it even with packages that fail on other
people's Servers.

I am always on the lookout for code that fails everytime

--

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
"Suzanne Boyle" <su**************@NOSPAMyahoo.co.uk> wrote in message
news:OP**************@TK2MSFTNGP11.phx.gbl...
Hi,

I am executing a DTS package from asp.net. It works successfully when the
code and PackageEventsSink class declaration is in the aspx file however
when the code is compilied into a dll I get the error 'Execution was
canceled by user'.

Does anyone have any ideas as to what the problem could be?

Thanks,

Suzanne

Nov 18 '05 #2
I am using events and do set the pbCancel to false in the OnQueryCancel
event handler.

I even tried re-creating the package to make sure no bugs had been compilied
into it as was mentioned in another post.
"Allan Mitchell" <al***@no-spam.sqldts.com> wrote in message
news:eQ**************@TK2MSFTNGP09.phx.gbl...
Are you using Events?

If you google on this message then you will see a response from Euan Garden re: wherever you pass pbCancel ByRef then you must set it to False in the
event handler.

There are others who have had this error (JP) and have yet to find a
solution. I have yet to have it even with packages that fail on other
people's Servers.

I am always on the lookout for code that fails everytime

--

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
"Suzanne Boyle" <su**************@NOSPAMyahoo.co.uk> wrote in message
news:OP**************@TK2MSFTNGP11.phx.gbl...
Hi,

I am executing a DTS package from asp.net. It works successfully when the code and PackageEventsSink class declaration is in the aspx file however
when the code is compilied into a dll I get the error 'Execution was
canceled by user'.

Does anyone have any ideas as to what the problem could be?

Thanks,

Suzanne


Nov 18 '05 #3
I've managed to narrow down the problem...

I have a transform data task that, when successful I want to run an execute
sql task however when I add the workflow OnSuccess flow between the
destination connection and the execute sql task running the package from
asp.net causes the 'Execution was canceled by user' error.

Anyone any ideas why this is happenning, its begginning to drive me round
the twist.

Suzanne

"Suzanne Boyle" <su**************@NOSPAMyahoo.co.uk> wrote in message
news:O7**************@TK2MSFTNGP12.phx.gbl...
I am using events and do set the pbCancel to false in the OnQueryCancel
event handler.

I even tried re-creating the package to make sure no bugs had been compilied into it as was mentioned in another post.
"Allan Mitchell" <al***@no-spam.sqldts.com> wrote in message
news:eQ**************@TK2MSFTNGP09.phx.gbl...
Are you using Events?

If you google on this message then you will see a response from Euan

Garden
re: wherever you pass pbCancel ByRef then you must set it to False in the
event handler.

There are others who have had this error (JP) and have yet to find a
solution. I have yet to have it even with packages that fail on other
people's Servers.

I am always on the lookout for code that fails everytime

--

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
"Suzanne Boyle" <su**************@NOSPAMyahoo.co.uk> wrote in message
news:OP**************@TK2MSFTNGP11.phx.gbl...
Hi,

I am executing a DTS package from asp.net. It works successfully when

the code and PackageEventsSink class declaration is in the aspx file however when the code is compilied into a dll I get the error 'Execution was
canceled by user'.

Does anyone have any ideas as to what the problem could be?

Thanks,

Suzanne



Nov 18 '05 #4

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

Similar topics

6
by: Paolo Losi | last post by:
Hi all, I'm pretty new to the python language so please excuse me if this is FAQ... I'm very glad to be part of the list! :-) I'm looking into a way to implement a generic workflow framework...
30
by: Sean R. Lynch | last post by:
I've been playing around with Zope's RestrictedPython, and I think I'm on the way to making the modifications necessary to create a capabilities-based restricted execution system. The idea is to...
2
by: Jenny Zhang | last post by:
The osdl-dbt3 test starts with building and vacuuming the database. The execution plans were taken after the vacuuming. I did two tests with the same database parameters: 1. run two osdl-dbt3...
5
by: Johannes Lebek | last post by:
Hi there, lately, I experienced a strange thing on my DB2 V8.1 on Windows: Some queries took a very long time. A snapshot discovered the following: Number of executions = 47...
75
by: Beni | last post by:
I have been programming in C for about a year now. It sounds silly, but I never took the time to question why a C(or C++ or Java) program execution begins only at the main(). Is it a convention or...
3
by: iam980 | last post by:
Hello All. We have tested following SQL script from query analyzer: -- Script begin DECLARE @I int; SET @I = 1; WHILE @I < 10000000 BEGIN SET @I = @I + 1; END -- Script end
2
by: Ina Schmitz | last post by:
Hi NG, does IBM Universal Database 8.2 make any difference between actual and estimated execution plans like in SQL Server ("set showplan_all on" for estimated execution plan and "set statistics...
17
by: romixnews | last post by:
Hi, I'm facing the problem of analyzing a memory allocation dynamic and object creation dynamics of a very big C++ application with a goal of optimizing its performance and eventually also...
4
by: TheRealPawn | last post by:
I'm trying to get the execution plan for a single stored procedure from Profiler. Now, I've isolated the procedure but I get all execution plans. Any ideas on how to connect the SPIDs so that I...
2
by: abhaybhat | last post by:
I run a batch file, which is nothing but a make file of my project. It also does linting for me. Hence the execution of the batch file in the DOS window can be seen, which is very huge(i have...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.