OK, I just upgraded to the new ALPHA's
 
I get the following error:
 
[snip]
 Invalid SqlMap.config document. cause :The 'default' attribute is not declared. An error occurred at , (1, 386).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
 
Exception Details: IBatisNet.Common.Exceptions.ConfigurationException: Invalid SqlMap.config document. cause :The 'default' attribute is not declared. An error occurred at , (1, 386).
[snap]
 
and the Stack trace:
 
[snip]
[ConfigurationException: Invalid SqlMap.config document. cause :The 'default' attribute is not declared. An error occurred at , (1, 386).
]
   IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.ValidateSchema(XmlNode section, String schemaFileName) +446
   IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Build(XmlDocument document, DataSource dataSource, Boolean useConfigFileWatcher, Boolean isCallFromDao) +99
 
[ConfigurationException:
- The error occurred while Validate SqlMap config.
- The error occurred in The 'default' attribute is not declared. An error occurred at , (1, 386).
.]
   IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Build(XmlDocument document, DataSource dataSource, Boolean useConfigFileWatcher, Boolean isCallFromDao) +164
   IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.ConfigureAndWatch(String resource, ConfigureHandler configureDelegate) +196
   IBatisNet.DataMapper.Mapper.InitMapper() +65
   IBatisNet.DataMapper.Mapper.Instance() +64
   BudgetModel.Model.Helper.UserDataHelper.UserLogin(String username, String uPassword) +164
   BudgetModel.login.ok_Click(Object sender, EventArgs e) in C:\Documents and Settings\kel\VSWebCache\til.busieco.sdu.dk_1000\login.aspx.cs:103
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain() +1292
[snap]
 
What wen't wrong? It worked with my own compile... but there I had to leave out some code...
 
/morten

Reply via email to