[Mono-bugs] [Bug 326011] Creating two connections to the same SQL database throws an exception

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Oct 14 08:03:34 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=326011#c3





--- Comment #3 from Paul Sainsbury <paul at digitaltinder.com>  2007-10-14 06:03:34 MST ---
What database provider are you connecting to?
=============================================
I'm connecting to a SQL 2005 database.  

What is the error that you get?
Do you get an exception, and if so, what is it?
================================================
The first time the code connects to the database without any problems.  The
second time it connects, I get a (and I quote from the message above)
"SQLException which says "SQL Server does not exist or access denied""

You might suggest that perhaps this is because the SQL server does not exist. 
But if I run the same code on MS .Net  the code runs fine, and this can be run
as many times as I like and I get the exact same results.  In MS .Net it works
fine for both times the application connects to the database, while Mono always
fails on the second connection.

From
  Paul


-- 
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.


More information about the mono-bugs mailing list