Hi,

Whenever I run the tests, all the Linq tests fail. For example, I get
the following errors. Have I got NH misconfigured in some way?

NHibernate.Test.Linq.AggregateTests:
Parent SetUp failed in LinqReadonlyTestsContext

NHibernate.Test.Linq.LinqReadonlyTestsContext (TestFixtureSetUp):
SetUp : System.Data.SqlClient.SqlException : There is already an
object named 'Physicians' in the database.


at System.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection)
at
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior,
SqlCommand cmdHandler, SqlDataReader dataStream,
BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject
stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String
methodName, Boolean async)
at
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult
result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at
NHibernate.Test.Linq.LinqReadonlyTestsContext.ExecuteScriptFile(Configuration
configuration, String scripFileName) in z:\src\nhibernate\nhibernate-
core\src\NHibernate.Test\Linq\LinqReadonlyTestsContext.cs:line 83
at NHibernate.Test.Linq.LinqReadonlyTestsContext.CreateNorthwindDb()
in z:\src\nhibernate\nhibernate-core\src\NHibernate.Test\Linq
\LinqReadonlyTestsContext.cs:line 58


Thanks,
Richard

Reply via email to