After almost two hours fight with ibatis-src-179390 unit tests I
finally ran unit tests. I must say that documentation lacks, there are
way too much configuration files and some weird bugs. (There is a
<select> in account.xml that has parameterClass="Integer" attribute. A
direct copy from Java perhaps?)

Anyways.. Finally tests ran and I got the following exception;
IBatisNet.Common.Test.NUnit.CommonTests.Transaction.TransactionTest.NestedCommitWithRollBack
: IBatisNet.DataMapper.Exceptions.DataMapperException : Unable to open
connection to "Microsoft SQL Server 7.0/2000 provider in framework
.NET V1.1".
  ----> System.Transactions.TransactionManagerCommunicationException :
Network access for Distributed Transaction Manager (MSDTC) has been
disabled. Please enable DTC for network access in the security
configuration for MSDTC using the Component Services Administrative
tool.
  ----> System.Runtime.InteropServices.COMException : The transaction
manager has disabled its support for remote/network transactions.
(Exception from HRESULT: 0x8004D024)

Googling was not much help. I only found
http://pluralsight.com/wiki/default.aspx/msdtc/FAQs.html and it
doesn't look like a solution. Can anyone help me what iBatis has to do
with MSDTC?

PS: I also checked services.msc for MSDTC service. It's in running state.
PS2: I'm trying to use SqlClient driver.

-- 
/tb.

Reply via email to