[Mono-bugs] [Bug 488519] New: ConnectionString Data Source can't use instance and port together

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 24 23:46:05 EDT 2009


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: mhabersack at novell.com
        ReportedBy: nelsonm12 at aol.com
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list