Thanks for asking this. In my case there are transactions involved, although the query that causes the error isn't in one. I'm running unit tests inside Visual Studio that contact the DB and use transactions to not modify the DB. I'm using typed datasets
(unfortunately). For the calls that only get data, I'm not wrapping them in a TransactionScope. For things that do, I am. Thanks.
dmorrison
Member
8 Points
5 Posts
Re: Error: Timeout expired. The timeout period elapsed prior to completion of the operation or t...
Dec 09, 2008 04:10 PM|LINK
Thanks for asking this. In my case there are transactions involved, although the query that causes the error isn't in one. I'm running unit tests inside Visual Studio that contact the DB and use transactions to not modify the DB. I'm using typed datasets (unfortunately). For the calls that only get data, I'm not wrapping them in a TransactionScope. For things that do, I am. Thanks.
unit testing transactions