I have a Data Flow Task that is hanging on excecution.
The flow is simple, makes two queries to different tables (Both with a couple of joins), then sorts and merges th
We already had our Delayed Validations set to True
and couldnt/didnt want to change it to a SQL statement.
I came across ValidateExternalMetadata
in the dataflows which I changed to False
and that seem to work like a champ.
I checked OP's steps and he mentions they did that in Step 5
Another thing to try, apparently, is to check the "Use 32 bit runtime" checkbox--this is if you see the problem when running the package as a job in your DB server (which is 64-bit, and in my case at least, SQL Server 2008R2). Go to the job, right-click > Properties… > Steps > right-click your SSIS package step > Properties… > General > Execution options (tab) > Use 32 bit runtime.
I was seeing this problem, but only once I deployed the package to the server (I had a logging provider enabled so I could see it get stuck after the "Pre-Execute" phase). It always ran fine in BIDS (and fine on another server, oddly…still not sure why that is).
A thread here tipped me off to this solution that seems to work--though my problem shows up intermittently, so YMMV. There are other possible solutions in that thread as well.
I got the same symptoms but set delay validation to True on each components did not solved my problem.
I solved it by changing the OLE DB method from table or view, to sql command.
regards.