5 Comments

We recently upgraded our database server but in doing so, we broke all our NServiceBus-based Windows Services. Through the logs we noticed that the NServiceBus message handlers weren’t able to open database connections to our new SQL Server instance, instead throwing the following exception:

System.Transactions.TransactionException: The partner transaction manager has disabled its support for remote/network transactions. (Exception from HRESULT: 0x8004D025) ---> System.Runtime.InteropServices.COMException: The partner transaction manager has disabled its support for remote/network transactions. (Exception from HRESULT: 0x8004D025)

   at System.Transactions.Oletx.ITransactionShim.Export(UInt32 whereaboutsSize, Byte[] whereabouts, Int32& cookieIndex, UInt32& cookieSize, CoTaskMemHandle& cookieBuffer)

   at System.Transactions.TransactionInterop.GetExportCookie(Transaction transaction, Byte[] whereabouts)

Turns out Microsoft has an excellent step-by-step tutorial on how to fix this issue. The exception was thrown because the database server didn’t have the network DTC access enabled, but after following the steps from the guide and restarting the server, the problem went away.

Microsoft TechNet: Enable Network DTC Access

Comments

Comment by coach factory outlet store

coach factory outlet store...

There's noticeably a bundle to find out about this. I assume you made certain nice factors in options also....

Comment by Michael Kors Outlet

Michael Kors Outlet...

Once I initially commented I clicked the -Notify me when new feedback are added- checkbox and now each time a remark is added I get 4 emails with the same comment. Is there any approach you possibly can take away Thanks!...

Comment by tiffany and co outlet

tiffany and co outlet...

This actually answered my drawback, thank you!here on this post. I shall be coming again to your blog for extra soon....

Comment by Michael Kors Purses

Michael Kors Purses...

I don?t know if greatest practices have emerged around things like that, however I'm positive that your job is clearly recognized as a good game. Both boys and girls really feel the influence of just a moment pleasure....

Comment by coach factory outlet

coach factory outlet...

A formidable share, I simply given this onto a colleague who was doing a bit of evaluation on this. And he in reality bought me breakfast....