On 7/20/05, Ron Grabowski <[EMAIL PROTECTED]> wrote: > What version of windows are you running the tests on? This may be
Windows XP SP2, it's not Win2000. I'm sure it's my box :-) But I'm on Whidbey. Maybe that's the problem (I'll look further tomorrow. It's 03:45 here) > 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. Yes it sounds like that. But I checked the service and it's running. Altough it's startup type "manual" I didn't start it. > > 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. That's interesting. I didn't read that guide line by line. After changing "Integer" to "int" error went away. Like I said I'll look at it tomorrow.. Thank you for your response.. > > --- 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. > > > > -- /tb.

