ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ling Wang <lingwan...@yahoo.com>
Subject NPetShop2 is still buggy. Be nice if someone can fix it.
Date Tue, 04 Oct 2005 22:19:40 GMT
I just downloaded NPetShop2. The reads are all
working. However, sign up for an account is giving me
exceptions:

at
NPetshop.Persistence.MapperDao.BaseSqlMapDao.ExecuteInsert(String
statementName, Object parameterObject) in
C:\Ling\junk4\ibatis\dotnet\source\NPetshop.Persistence\MapperDao\BaseSqlMapDao.cs:line
158 at
NPetshop.Persistence.MapperDao.Accounts.AccountSqlMapDao.InsertAccount(Account
account) in
C:\Ling\junk4\ibatis\dotnet\source\NPetshop.Persistence\MapperDao\Accounts\AccountSqlMapDao.cs:line
39 at
NPetshop.Service.AccountService.InsertAccount(Account
account) in
C:\Ling\junk4\ibatis\dotnet\source\NPetshop.Service\AccountService.cs:line
73 at
NPetshop.Presentation.UserActions.AccountAction.CreateNewAccount()
in
C:\Ling\junk4\ibatis\dotnet\source\NPetshop.Presentation\UserActions\AccountAction.cs:line
95 at
NPetshop.Web.UserControls.Accounts.NewAccount.ButtonCreateNewAccount_Click(Object
sender, EventArgs e) in
c:\inetpub\wwwroot\NPetshop.Web\UserControls\Accounts\NewAccount.ascx.cs:line
37 at
System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument) at
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) at
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection
postData) at System.Web.UI.Page.ProcessRequestMain()  
Error message :  Error executing query 'InsertProfile'
for insert. Cause: Data type mismatch in criteria
expression.  
Inner Error message :  Label  
Source :  NPetshop.Persistence  
View :  Accounts/NewAccount  


Please try by your self.

Thanks.

Ling

Mime
View raw message