Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server 2008 - General
»
SSIS oddness
SSIS oddness
Rate Topic
Display Mode
Topic Options
Author
Message
Michael Gerholdt
Michael Gerholdt
Posted Thursday, November 29, 2012 2:54 PM
SSC Rookie
Group: General Forum Members
Last Login: Friday, March 29, 2013 6:32 PM
Points: 43,
Visits: 184
I have a package that consists of three sequence containers with success connectors. Each holds a number of tasks.
For debugging and testing, I disabled every taskbut one in the first container. This is an SQL task that connects to an SQL server and truncates a table in preparation for the next task, which is a dataflow task to put new data into the table.
When I debug, the container and the task both go yellow and then red. The progress report says that there was a problem making a connection to the database.
After much testing to no avail, I just right-clicked on the task itself and did an "execute task." Now it works fine. I have exactly the same experience with another task within the same container, this one connecting to an Oracle database. If I debug and let the sequence container in on the action, both sql tasks fail to connect. If I just execute each task individually, each works as expected.
So instead of hitting F5 and watching about 18 tasks fire off in proper sequence, I executed each individually with success.
What would be the reason that the task cannot run when fired by the sequence container, but it does run fine when executed directly?
SSIS 2008 R2 Standard Edition ...
Thanks for any ideas regarding this!
Mike
Post #1390877
Evil Kraig F
Evil Kraig F
Posted Thursday, November 29, 2012 3:05 PM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 4:36 AM
Points: 5,678,
Visits: 6,126
Containers can have some options that can mess with connections, like transactions, but it doesn't sound like you activated them. Go to the sequence containers and make sure they're set to TransactionOption Supported, and Isolation Level Serializable (that's the defaults).
Otherwise, I've never had similar issues to what you describe. I'd double check your Execution settings on the containers however, and make sure they're all set to False and MaximumErrorCount is 1. Once done, if you continue with problems, set delayValidation to True and see if that cures the issue.
- Craig Farrell
Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.
For better assistance in answering your questions
|
Forum Netiquette
For index/tuning help, follow these directions.
|
Tally Tables
Twitter: @AnyWayDBA
Post #1390883
MyDoggieJessie
MyDoggieJessie
Posted Thursday, November 29, 2012 5:45 PM
SSCrazy
Group: General Forum Members
Last Login: Yesterday @ 2:19 PM
Points: 2,037,
Visits: 3,761
+1 @Craig regarding "
set delayValidation to True
"
You will find this setting on nearly every control and I believe on the package level itself
______________________________________________________________________________
"Never argue with an idiot; They'll drag you down to their level and beat you with experience"
Post #1390930
Michael Gerholdt
Michael Gerholdt
Posted Friday, November 30, 2012 7:14 AM
SSC Rookie
Group: General Forum Members
Last Login: Friday, March 29, 2013 6:32 PM
Points: 43,
Visits: 184
Evil Kraig F (11/29/2012)
<snip>
TransactionOption Supported, and Isolation Level Serializable (that's the defaults).
</snip>
Somehow the TransactionOption had got set to "Required" on the first container, but not the others.
Setting it back to "Supported" provided the expected behavior.
Much appreciated!
Post #1391295
Evil Kraig F
Evil Kraig F
Posted Friday, November 30, 2012 10:01 AM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 4:36 AM
Points: 5,678,
Visits: 6,126
Michael Gerholdt (11/30/2012)
Somehow the TransactionOption had got set to "Required" on the first container, but not the others.
Setting it back to "Supported" provided the expected behavior.
Much appreciated!
My pleasure. Sounds like a misclick somewhere along the way then, or something silly happened in the background. Glad that resolved it.
- Craig Farrell
Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.
For better assistance in answering your questions
|
Forum Netiquette
For index/tuning help, follow these directions.
|
Tally Tables
Twitter: @AnyWayDBA
Post #1391437
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.