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.TestUpdate :

- 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\domsqlmapbuilder.cs:line 530

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

at IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Configure(String resource) in c:\code\subversion workspaces\ibatis\cs\mapper\ibatisnet.datamapper\configuration\domsqlmapbuilder.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: [EMAIL PROTECTED]

email:   [EMAIL PROTECTED]
url:       http://www.ctadvantage.com

 

Reply via email to