hibernate.connection.connection_string

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" />
> >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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