This "OnCreateFacility" is... pretty new. Do you use the trunk version
of castle? If not checkout.. or copy libs from the chinookmediamanger
sample.

On 17 oct, 15:21, LasseL <[email protected]> wrote:
> Ok
>
> I vill look into this, and create a database.
>
> I've started a small project based on this. Purpose is to learn to use
> nHAddins. First I would like to get INotifyPropertyChanged to work,,
> then add on functionality.
>
> Of course I ran into problems...
>
> This line:
> using Castle.MicroKernel.Facilities.OnCreate   seems to cause trouble
> for me,, or at least when the code are trying to use OnCreate.
>
> Looking into Castle.MicroKernel   i cant find Facilities.OnCreate...
>
> Of course,, I am not good at searching but I am also afraid that this
> is more than I can understan,,, I am a real newbee at this.
>
> Any advise??
>
> On 17 Okt, 16:50, José F. Romaniello <[email protected]> wrote:
>
>
>
> > >I havent been able to
> > >find any,,, but my wife tells me I'm bad at serarching ... :)
>
> > She's right. And reading errors too, LOL. (its a joke).
> > But let me explain,
>
> > Have look the inner exception:
> > InnerException: System.Data.SqlClient.SqlException
> >                 Message="Cannot open database \"Chinook\" requested
> > by the login. The login failed.\r\nLogin failed for user 'PREVAS\
> > \lgli'."
>
> > You need to create the database, and that is explained in the documentation:
>
> >http://nhforge.org/blogs/nhibernate/archive/2009/08/15/introducing-nh...
>
> > BTW have a look to my other post about chinook in nhforge.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to