When creating NHibernate Application with two databases in c#

-1

I have created an application with NHibernate and C# using SQL Server. This application maps two separate databases. But we are getting this error:

The MSDTC transaction manager was unable to pull the transaction from the source transaction manager due to communication problems. Possible causes are: a firewall is present and it doesn't have an exception for the MSDTC process, the two machines cannot find each other by their NetBIOS names, or the support for network transactions is not enabled for one of the two transaction managers. (Exception from HRESULT: 0x8004D02B)

We tried calling each database individually and it works. But when we access two databases together this error is coming.

As this is a proprietary application, I am not able to share the code.

Any help or pointers would be appreciated.

c#
sql-server
nhibernate
msdtc
asked on Stack Overflow Dec 23, 2016 by Rini Jose • edited Dec 23, 2016 by marc_s

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0