Message from discussion
Sql Server 2008 column data type bit mapper problem
Received: by 10.142.245.6 with SMTP id s6mr3389479wfh.66.1292866438530;
Mon, 20 Dec 2010 09:33:58 -0800 (PST)
X-BeenThere: castle-project-users@googlegroups.com
Received: by 10.142.2.41 with SMTP id 41ls5455283wfb.0.p; Mon, 20 Dec 2010
09:33:56 -0800 (PST)
MIME-Version: 1.0
Received: by 10.142.152.27 with SMTP id z27mr223716wfd.18.1292866436665; Mon,
20 Dec 2010 09:33:56 -0800 (PST)
Received: by c13g2000prc.googlegroups.com with HTTP; Mon, 20 Dec 2010 09:33:56
-0800 (PST)
Date: Mon, 20 Dec 2010 09:33:56 -0800 (PST)
In-Reply-To: <AANLkTimYotuDG+Ki2e-nhcrPn=+ZGHJ7sbb1NBLRR7UP@mail.gmail.com>
X-IP: 200.75.19.198
References: <b43a159a-a12a-49c9-9fa0-20290a3ed01f@29g2000prb.googlegroups.com>
<bb8dd559-72e5-4f85-8b54-3a218de8f8fa@h17g2000pre.googlegroups.com>
<AANLkTimu8wi8psYXoFmwVyxN8AkArEEE_Yy0p6-rKbfb@mail.gmail.com>
<422bea9d-b249-4d93-a18a-67edcd39ebb4@n2g2000pre.googlegroups.com> <AANLkTimYotuDG+Ki2e-nhcrPn=+ZGHJ7sbb1NBLRR7UP@mail.gmail.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.2.13)
Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0E),gzip(gfe)
Message-ID: <0da9794d-5f68-4786-9786-9950793866f4@c13g2000prc.googlegroups.com>
Subject: Re: Sql Server 2008 column data type bit mapper problem
From: enzoscuro <enzosc...@gmail.com>
To: Castle Project Users <castle-project-users@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Could not perform FindByPrimaryKey for Dominio_CapacInbox. Id: 1
en Castle.ActiveRecord.ActiveRecordBase.FindByPrimaryKey(Type
targetType, Object id, Boolean throwOnNotFound) en
Castle.ActiveRecord.ActiveRecordBase`1.Find(Object id) en
_Default.Page_Load(Object sender, EventArgs e) en d:\Proyectos
\EmailPostSales\Default.aspx.cs:l=EDnea 19
sorry, but I do not understand, it means you can not find the record
with that ID?, I'm really new at this
thank you very much
On Dec 20, 12:53=A0pm, Mauricio Scheffer <mauricioschef...@gmail.com>
wrote:
> Check the inner exception.
> Please keep the discussion in the mailing list, I just got this message
> repeated three times, sent directly to my personal email.
>
> --
> Mauricio
>
> On Mon, Dec 20, 2010 at 12:27 PM, enzoscuro <enzosc...@gmail.com> wrote:
> > But change it but now I throw the following error
>
> > Could not perform FindByPrimaryKey for Dominio_CapacInbox. Id: 1
> > en Castle.ActiveRecord.ActiveRecordBase.FindByPrimaryKey(Type
> > targetType, Object id, Boolean throwOnNotFound) en
> > Castle.ActiveRecord.ActiveRecordBase`1.Find(Object id) en
> > _Default.Page_Load(Object sender, EventArgs e) en d:\Proyectos
> > \EmailPostSales\Default.aspx.cs:l=EDnea 19
>
> > thank everyone for their response
>
> > On Dec 20, 11:22 am, Mauricio Scheffer <mauricioschef...@gmail.com>
> > wrote:
> > > I think you're looking for SqlType, not ColumnType.
>
> > > --
> > > Mauricio
>
> > > On Mon, Dec 20, 2010 at 11:16 AM, enzoscuro <enzosc...@gmail.com> wro=
te:
>
> > > > Could not determine type for: bit, for columns:
> > > > NHibernate.Mapping.Column(estado)
> > > > en NHibernate.Mapping.SimpleValue.get_Type() en
> > > > NHibernate.Mapping.SimpleValue.IsValid(IMapping mapping) en
> > > > NHibernate.Mapping.Property.IsValid(IMapping mapping) en
> > > > NHibernate.Mapping.PersistentClass.Validate(IMapping mapping) en
> > > > NHibernate.Mapping.RootClass.Validate(IMapping mapping) en
> > > > NHibernate.Cfg.Configuration.ValidateEntities() en
> > > > NHibernate.Cfg.Configuration.Validate() en
> > > > NHibernate.Cfg.Configuration.BuildSessionFactory() en
>
> > Castle.ActiveRecord.Framework.SessionFactoryHolder.GetSessionFactory(Ty=
pe
> > > > type) en
>
> > Castle.ActiveRecord.Framework.SessionFactoryHolder.CreateScopeSession(T=
ype
> > > > type) en
> > > > Castle.ActiveRecord.Framework.SessionFactoryHolder.CreateSession(Ty=
pe
> > > > type) en Castle.ActiveRecord.ActiveRecordBase.FindByPrimaryKey(Type
> > > > targetType, Object id, Boolean throwOnNotFound) en
> > > > Castle.ActiveRecord.ActiveRecordBase`1.Find(Object id) en
> > > > _Default.Page_Load(Object sender, EventArgs e) en d:\Proyectos
> > > > \EmailPostSales\Default.aspx.cs:l=EDnea 18
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Castle Project Users" group.
> > > > To post to this group, send email to
> > castle-project-users@googlegroups.com
> > > > .
> > > > To unsubscribe from this group, send email to
> > > > castle-project-users+unsubscribe@googlegroups.com<castle-project-us=
ers%2Bunsubscribe@googlegroups.com>
> > <castle-project-users%2Bunsubscribe@googlegroups.com<castle-project-use=
rs%252Bunsubscribe@googlegroups.com>
>
> > > > .
> > > > For more options, visit this group at