ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russo, Gary" <Gary.Ru...@wolterskluwer.com>
Subject DataMapper.Test.NUnit Test is failing
Date Wed, 26 Oct 2005 17:42:13 GMT
I am having a problem with the DataMapper unit tests.

I pulled the latest build from SVN.

 

The error message is here:

 

IBatisNet.DataMapper.Test.NUnit.SqlMapTests.MSSQL.StatementGenerate.Test
Update :

- The error occurred while loading SqlMap.

- The error occurred in <sqlMap
resource="../../${directory}/MSSQL/SqlClient/Account.xml"
xmlns="http://ibatis.apache.org/dataMapper" />.

 

 

Stack dump here:

 

at IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Build(XmlDocument
document, DataSource dataSource, Boolean useConfigFileWatcher, Boolean
isCallFromDao) in c:\code\subversion
workspaces\ibatis\cs\mapper\ibatisnet.datamapper\configuration\domsqlmap
builder.cs:line 530

at IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Build(XmlDocument
document, Boolean useConfigFileWatcher) in c:\code\subversion
workspaces\ibatis\cs\mapper\ibatisnet.datamapper\configuration\domsqlmap
builder.cs:line 614

at IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Configure(String
resource) in c:\code\subversion
workspaces\ibatis\cs\mapper\ibatisnet.datamapper\configuration\domsqlmap
builder.cs:line 364

at IBatisNet.DataMapper.Test.NUnit.SqlMapTests.BaseTest.InitSqlMap() in
c:\code\subversion
workspaces\ibatis\cs\mapper\ibatisnet.datamapper.test\nunit\sqlmaptests\
basetest.cs:line 58

 

 

I suspect that the problem is with this config file:
SqlMap_MSSQL_SqlClient.config

 

Is this file maintained in the bin/Debug directory? If so why? Hmm... I
thought it was auto-generated at compile time.

 

Any advice is much appreciated.

 

Regards,

Gary R

 

 

________________________________

Gary P. Russo
Wolters Kluwer - Corporate Legal Services
111 Eighth Avenue
New York, NY 10011

Blog:     http://spaces.msn.com/members/pocketxp/

MSN IM: garyrusso@hotmail.com

email:   gary.russo@wolterskluwer.com
url:       http://www.ctadvantage.com

 


Mime
View raw message