You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by "Russo, Gary" <Ga...@wolterskluwer.com> on 2005/10/26 19:42:13 UTC
DataMapper.Test.NUnit Test is failing
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