Meetings... will they never cease. Been away from desk. Will try on Monday, but thanks for the response.
On Apr 12, 4:20 am, "Pete Appleton" <[email protected]> wrote: > Indeed - the connection string has "Integrated Security=true" as opposed to > "Integrated Security=SSPI". > > > > > > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of > Oskar Berggren > Sent: 11 April 2012 19:03 > To: [email protected] > Subject: Re: [nhusers] Error With Testing > > Den 11 april 2012 17:28 skrev ethan <[email protected]>: > > I am following the 'Your First NHibernate Based Application" and > > getting this error when I try to run the first test on the > > configuration file: > > > ------ Test started: Assembly: ECEHire.Test.dll ------ > > > Test 'ECEHire.Test.Tests.GenerateSchema_Fixture.Can_generate_schema' > > failed: NHibernate.HibernateException : Format of the initialization > > string does not conform to specification starting at index 49. > > ----> System.ArgumentException : Format of the initialization string > > does not conform to specification starting at index 49. > > at NHibernate.Tool.hbm2ddl.SchemaExport.Execute(Action`1 > > scriptAction, Boolean export, Boolean justDrop) > > at NHibernate.Tool.hbm2ddl.SchemaExport.Execute(Boolean script, > > Boolean export, Boolean justDrop) > > GenerateSchema_Fixture.vb(18,0): at > > ECEHire.Test.Tests.GenerateSchema_Fixture.Can_generate_schema() > > --ArgumentException > > at System.Data.Common.DbConnectionOptions.GetKeyValuePair(String > > connectionString, Int32 currentPosition, StringBuilder buffer, Boolean > > useOdbcRules, String& keyname, String& keyvalue) > > at System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable > > parsetable, String connectionString, Boolean buildChain, Hashtable > > synonyms, Boolean firstKey) > > at System.Data.Common.DbConnectionOptions..ctor(String > > connectionString, Hashtable synonyms, Boolean useOdbcRules) > > at System.Data.SqlClient.SqlConnectionString..ctor(String > > connectionString) > > The exception occurs from within the SqlConnectionString constructor. > Something is wrong with your connection string. > > /Oskar > > -- > 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 > athttp://groups.google.com/group/nhusers?hl=en. -- 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.
