Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Package fails with MaxConcurrentExecutables > 1


Package fails with MaxConcurrentExecutables > 1

Author
Message
aaron.reese
aaron.reese
Mr or Mrs. 500
Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)

Group: General Forum Members
Points: 589 Visits: 898
Hi Guys,

I have a package that runs 21 file loads. The process is run an SQL task to reset some data and then a Bulk insert task to load the data from a flatfileConnection. Each 'pair' of tasks is wrapped in a Sequence Container. When all the sequences have finished then a Send Email task is triggered.

Each of the files has a different schema and therefore needs a different FlatFileConnection

I am trying to run the seqence containers in parallel. The Bulk Insert tasks select their FlatFileConnection dynamically based on the the TaskName. When I run with MaxConcurrentExecutables = 1 everything is fine, when I try to run in Parallel with MaxConcurrentExecutable > 1 (I am on a quad core server) then all but the first Bulk Insert tasks fail with error messages about data not matching in columns which would indicate that it has the wrong Connection. Can anyone shed some light on how to force the connection. I have tried setting delayValidation = True on both the Bulk Insert Task and on the Sequence Container.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search