Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sqlconnection does not support parallel transactions

I want to run two transactions simultaneously. So i gave MultipleActiveResultSet = false in the connection string as specified in an MSDN article. But after modifying the connection string i get "Target machine actively refused". I'm working with WCF.

Any ideas in this?

Thank you.

like image 205
NLV Avatar asked Oct 19 '25 14:10

NLV


1 Answers

I was under the impression that MARS only really applies to the special case of getting multiple forward-only read-only resultsets on a single connection, but that regular operations have to have their own connections.

like image 195
Cade Roux Avatar answered Oct 22 '25 04:10

Cade Roux