I have a Parallel.Foreach loop
var options = new ParallelOptions(); options.MaxDegreeOfParallelism = 1; Parallel.ForEach(urlTable.AsEnumerable(),drow => {
You're using the same connection at the same time.
Do you have several thread ? Because it seems that 2 threads use the same connection to concurrently make a call.