[Mono-bugs] [Bug 77533][Cri] New - Getting SQL Exception when
connecting to SQL Server Database.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Feb 11 17:59:09 EST 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by boinc_spy at telus.net.
http://bugzilla.ximian.com/show_bug.cgi?id=77533
--- shadow/77533 2006-02-11 17:59:09.000000000 -0500
+++ shadow/77533.tmp.20466 2006-02-11 17:59:09.000000000 -0500
@@ -0,0 +1,67 @@
+Bug#: 77533
+Product: Mono: Runtime
+Version: 1.1
+OS: Mac OS X 10.3
+OS Details: 10.4 and Fedora FC4
+Status: NEW
+Resolution:
+Severity:
+Priority: Critical
+Component: io-layer
+AssignedTo: dick at ximian.com
+ReportedBy: boinc_spy at telus.net
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Getting SQL Exception when connecting to SQL Server Database.
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Execute simple connection to SQL Server database
+2. Get System.Data.SqlClient.SqlException: SQL Server does not exisit.
+
+
+Code Fragment.
+
+string connectString= "server=172.16.0.186\\BoincSpy;User
+ID=bob;Password=password;Initial Catalog=BoincSpy";
+
+SqlConnection databaseConnection = new SqlConnection(connectString);
+
+databaseConnection.Open();
+
+Actual Results:
+
+Get exception
+
+Expected Results:
+
+Not to get one.
+
+How often does this happen?
+
+Everytime
+
+Additional Information:
+
+1. Sql Connection string works in a Windows .net 2.0 implementation.
+2. Data does return back from Server. Run EtherReal analyzer in it.
+3. If I comment the following Code fragment in
+
+SqlConnection.DiscoverTcpPort the program will not get throw an exception.
+
+ if (!Active)
+ return -1; // Error
+
+ bool result;
+ result = Client.Poll (100, SelectMode.SelectRead);
+ if (result == false)
+ return -1; // Error
+
+ if (Client.Available <= 0)
+ return -1; // Error
More information about the mono-bugs
mailing list