If you receive this error message, it seems you are using the TransactionScope in your C# code,

Check whether MSDTC(Microsoft Distribution Transaction Coordinator).

If not, Go to Control Pannel -> Administrative Tools -> Services

And then double click the Distribution Transaction Coordinator. And then Set Startup Type is Automatic and Start the service.

Hope your problem is solve :-)

Cheers…………………….!

Microsoft Distribution Transaction Coordinator