https://bugzilla.novell.com/show_bug.cgi?id=372932
Summary: Connection to Microsoft SQL Server Failed Product: Mono: Class Libraries Version: 1.9.0 Platform: x86 OS/Version: Windows Vista Status: NEW Severity: Blocker Priority: P5 - None Component: Sys.Data.SqlClient AssignedTo: mono-bugs@lists.ximian.com ReportedBy: [EMAIL PROTECTED] QAContact: mono-bugs@lists.ximian.com Found By: Third Party Developer/Partner Description of Problem: Connection to Microsoft SQL Server 2005 SP2 failed spontaneously. Steps to reproduce the problem: Run code: static void Main() { const string connStr = @"User ID=Tornado;Pwd=*******;Net=dbmssocn;Server=127.0.0.1\DEV;Integrated Security=no;Initial Catalog=LocalDB"; const string cmdText = "SELECT COUNT(*) FROM units"; for (var i = 0; i < 3; i++) using (var con = new SqlConnection(connStr)) using (var cmd = new SqlCommand(cmdText, con)) { con.Open(); Console.WriteLine("{0} : {1}", i, cmd.ExecuteScalar()); } } Actual Results: 0 : 0 Unhandled Exception: System.Data.SqlClient.SqlException: SQL Server does not exist or access denied. at System.Data.SqlClient.SqlConnection.Open () [0x00000] at MSSQLConTest.Program.Main () [0x00000] Expected Results: 0 : 0 1 : 0 2 : 0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs