Welcome to EMC Consulting Blogs Sign in | Join | Help

Kristian Wedberg - Business Intelligence, Data Warehousing, SSIS

A Swede on a walkabout

SSIS and “Cursor Operation Conflict”

Watch out for this feature, not a bug thingy:

In a Data Flow Task, my OLE DB Destination started to fail intermittently for no appearent reason. The error message was "Cursor Operation Conflict". Some head scratching later I discovered that the SQL Server 2005 database instance had had it's "no count" connection option changed to ON (the default after installation is OFF.)

It seems that ADO expects getting back row counts, and gets confused when they're missing. Here's the culprit:

 

no count server setting

Here’s some background information.


In short, make sure that the database instances that SSIS uses has the "no count" connection setting turned off (i.e. NO check mark for the "no count" property in the above dialog.)

 

      Happy hacking!

 

 

Published 08 March 2006 18:27 by Kristian.Wedberg
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

AdamG said:

Thanks - fixed the problem for me!

September 12, 2008 21:33
 

SAP said:

Thanks Bud!....helped out!

December 5, 2010 12:46
 

HH said:

Thanks!  Is there are any way to override the server level NO COUNT = ON only for the connection used by the SSIS package?

July 15, 2011 03:49
 

BrentA said:

Thanks so much - I have spent 6 weeks troubleshooting an issue with the same record repeating in our database. Solved with one tick box !

November 18, 2011 04:02
 

MaddySonu said:

Thanks so much - It saves my one day!

December 13, 2011 12:11

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server (Personal Edition), by Telligent Systems