What version of windows are you running the tests on? This may be
helpful:

http://tinyurl.com/dwjl7
http://ibatisnet.sourceforge.net/docs/en/sdkhelp/web/IBatisNet.Common.Transaction.TransactionScope.html

It sounds like the computer running the tests has support for MSDTC
disabled.

According to page 40 of "Data Mapper Guide-1.2.1.pdf", the
parameterClass of "Integer" is a type alias for System.Int32. Other
type aliases for System.Int32 include Int32, int, Int, and integer.

--- Tuncay Baskan <[EMAIL PROTECTED]> wrote:

> 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