The one you are using is probably RC3, and i advise you to use Castle Trunk and compile it on your own.
On Sat, Sep 27, 2008 at 8:53 PM, Berryl Hesh <[EMAIL PROTECTED]> wrote: > > Yes!! > > Do you know why new Castle releases are not built over new NHibernate > releases? > > Thanks! - BH > > On Sep 27, 10:37 am, "Tuna Toksöz" <[EMAIL PROTECTED]> wrote: > > Agh You already said it is 1.2.0 so try what I say and let us know what > > happens. > > > > > > > > On Sat, Sep 27, 2008 at 8:36 PM, Tuna Toksöz <[EMAIL PROTECTED]> wrote: > > > <config> > > > <add > > > key="hibernate.connection.driver_class" > > > value="NHibernate.Driver.SqlClientDriver" /> > > > <add > > > key="hibernate.dialect" > > > value="NHibernate.Dialect.MsSql2000Dialect" /> > > > <add > > > key="hibernate.connection.provider" > > > value="NHibernate.Connection.DriverConnectionProvider" > /> > > > <add > > > key="hibernate.connection.connection_string" > > > value="Data Source=.\SQLEXPRESS;AttachDbFilename=C:\SQL > > > Server 2000 > > > Sample Databases\NORTHWND.MDF;Integrated Security=True;Connect > > > Timeout=30;User Instance=True" /> > > > </config> > > > > > Please try it like this. I don't follow the dvelopments in AR, maybe > the > > > trunk has recent version. > > > > > On Sat, Sep 27, 2008 at 8:29 PM, Berryl Hesh <[EMAIL PROTECTED]> > wrote: > > > > >> Tuna > > >> I did...Now I'm getting a different error. (I tested the connection > > >> string as a SqlConnection and was able to open it) > > > > >> TestCase 'OMG.DataAccess.Tests.CustomerRepositoryTest.GetCustomerTest' > > >> failed: Castle.ActiveRecord.Framework.ActiveRecordException : Could > > >> not perform ExecuteQuery for ActiveRecordBase > > >> ----> NHibernate.ADOException : cannot open connection > > >> ----> System.InvalidOperationException : The user must provide an > > >> ADO.NET connection - NHibernate is not creating it. > > >> at > > >> Castle.ActiveRecord.ActiveRecordBase.ExecuteQuery(IActiveRecordQuery > > >> query) > > >> C:\Documents and Settings\Owner\My Documents\Visual Studio > > >> 2008\Projects\Learning\Lab\OMG.DataAccess\OMG.DataAccess\Repository > > >> \RepositoryBase.cs(17,0): at > > >> OMG.DataAccess.Repository.RepositoryBase`2.Load(t id) > > >> C:\Documents and Settings\Owner\My Documents\Visual Studio > > >> 2008\Projects\Learning\Lab\OMG.DataAccess.Tests\OMG.DataAccess.Tests > > >> \CustomerRepositoryTest.cs(28,0): at > > >> OMG.DataAccess.Tests.CustomerRepositoryTest.GetCustomerTest > > > > >> On Sep 27, 10:18 am, "Tuna Toksöz" <[EMAIL PROTECTED]> wrote: > > >> > Can you please try > > >> > <add key="hibernate.dialect" > > >> > value="NHibernate.Dialect.MsSql2000Dialect" /> > > > > > -- > > > Tuna Toksöz > > > > > Typos included to enhance the readers attention! > > > > -- > > Tuna Toksöz > > > > Typos included to enhance the readers attention! > > > -- Tuna Toksöz Typos included to enhance the readers attention! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
