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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to