Hi there,
I ran NPetShop out of box and got an sql exception
"Data type mismatch in criteria" when I tried to
register a new user (I did not create any new code,
the original code uses "InsertProfile"). I would like
to see the sql statement. I searched the mail archive
and found a suggestion using
GetMappedStatement("InsertProfile"). I tried and got
an message:
MappedStatement: InsertProfile
InsertProfile-InLineParameterMap
which is not I am looking for.
I then tried to configure log4net following the
documentation. Hoping to get the SQL statement that
way. I tried almost everything including adding
log4net config info to the web.config or using its
own config file by setting or withoug setting:
[assembly: log4net.Config.DOMConfigurator(
ConfigFile="NPetshop.Web.dll.config",Watch=true )]
I still did not see any log.txt file.
Can anyone help me out?
Thanks.
Ling