https://bugzilla.novell.com/show_bug.cgi?id=488519
Summary: ConnectionString Data Source can't use instance and
port together
Classification: Mono
Product: Mono: Class Libraries
Version: unspecified
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Mono.Data.Sqlite
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Found By: ---
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; en-us)
AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.20.1
One of the variants of the connection string forisn't being supported. While
"Data Source=<ip address>\<instance>" and "Data Source=<ip address>,<port>" are
supported, "Data Source=<ip address>\<instance>,<port>" is failing
Reproducible: Always
Steps to Reproduce:
Create SQL Server database that has at least one instance and add an alternate
port to the tcp options.
Create a test program that uses the System.Data.SqlClient namespace, and use a
connection string that includes both the instance name and the alternate port
(like Data Source=192.168.0.205\sql05,22;User ID=sa;Password=mypass12;Initial
Catalog=myDatabase;)
run it
Actual Results:
"A error occurred while trying to connect to the server.
Server does not exist or connection refused."
Expected Results:
Connect to server and run query.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs