Ok something ultra strange is going on here...
I just added a transaction scope around some legacy code i was debugging to ensure the fiddling I was doing wouldn't get committed.
This worked twice, then said:
"The transaction manager has disabled its support for remote/network transactions."
without any code changes or rebuilds between the working/nonworkingness (literally 3 F5s in a row [web app]). This was local code connecting to a remove db server.
Since this, completely separate code in a different project is timing out. If I remove the transactionScopes from this code it runs fine, but with them in place it times out. I've tried my local sql server and remote ones, both time out inside the transactionscope.
What the hell is going on?
Edit: I've found that changing my TransactionScopes from:
using (var scope = new TransactionScope(TransactionScopeOption.RequiresNew))
to
using (var scope = new TransactionScope())
prevents the problem :s
What does this mean?
Thanks
Andrew