[Mono-bugs] [Bug 77533][Cri] Changed - Getting SQL Exception when connecting to SQL Server Database.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Aug 7 13:29:52 EDT 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 monodanmorg at yahoo.com.

http://bugzilla.ximian.com/show_bug.cgi?id=77533

--- shadow/77533	2006-02-16 22:57:48.000000000 -0500
+++ shadow/77533.tmp.12902	2006-08-07 13:29:52.000000000 -0400
@@ -112,6 +112,24 @@
 P...F.........L.
         0x0030:  bdd3                                     
 
 ------- Additional Comments From boinc_spy at telus.net  2006-02-16 22:57 -------
 One more item. Version of SQL Server connecting to is 2005.
 
+
+------- Additional Comments From monodanmorg at yahoo.com  2006-08-07 13:29 -------
+Is TCP/IP enabled for the instance?
+
+By default, Microsoft SQL Server 2005 only has shared memory 
+enabled.  TCP/IP is disabled.
+
+Also, make sure your firewall is not block mono.exe nor your 
+application.exe
+
+Add this to your connection string when running on .NET:
+network library=dbmssocn
+
+If you get a SqlException after adding this connection parameter, 
+then the problem is not with mono.
+
+
+See what you get.


More information about the mono-bugs mailing list