System.Data.SqlClient.SqlException: MSDTC on server '<ServerName>' is unavailable.

Posted by Sheonarayan under Error and Solution on 7/24/2014 | Points: 10 | Views : 3072 | Status : [Administrator] | Replies : 0

Problem


I was getting below error when I was trying to execute a LINQ query inside the TransactionScope.

System.Data.SqlClient.SqlException: MSDTC on server '' is unavailable.

Solution

The solution of this problem is to start the MSDTC service (find Distributed Transaction Coordinator in the Administrative Tools > Services) on the machine where this query is being executed.

Hope this helps.

Regards,
Sheo Narayan
http://www.dotnetfunda.com



Responses

(No response found.)

Login to post response