Very long process (DataAdapter.Update), how to avoid ContextSwitchDeadlock (without simply disabling the exception)? (Urgent!)
Posted on 2006-06-25
I have 16 commands like this:
and each one is trying to insert about 10,000 rows to a Microsoft Access 2000 table.
So for sure, I will get the ContextSwitchDeadlock exception while debugging.
My question is how to make my application as optimized as possible to avoid throughing this exception without simply disabling it from the Debug --> Exceptions --> Managed...
And by the way, does the Release Build of the appplication will through the same exception while running?
Thanks in advance