[Mono-bugs] [Bug 686861] New: System.Data.SqlClient won't connect if port is declared in connection string

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 12 06:31:04 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=686861

https://bugzilla.novell.com/show_bug.cgi?id=686861#c0


           Summary: System.Data.SqlClient won't connect if port is
                    declared in connection string
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Data.SqlClient
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: Tomasz.Kubacki at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like
Gecko) Chrome/11.0.696.34 Safari/534.24

if port is explicite added  to connection string. driver won't connect to db
[i've MS SQL EXPRESS 2008 R2]

lets assume we have following connection string:

data source=.\SQLEXPRESS;Initial Catalog=db,1433;UserId=sa;Password=pswd

above does not work in mono and does work in .net

however if i only remove ",1433" it DOES work.
E.g working conStr:
data source=.\SQLEXPRESS;Initial Catalog=db;UserId=sa;Password=pswd



Reproducible: Always

Steps to Reproduce:
1.
2.
3.

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