[Mono-bugs] [Bug 406540] New: [Regression] SqlConnection is broken on 1.0 profile

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jul 4 11:59:47 EDT 2008


           Summary: [Regression] SqlConnection is broken on 1.0 profile
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Data
        AssignedTo: bnc-blr-team-mono at forge.provo.novell.com
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at lists.ximian.com
                CC: christian.hergert at gmail.com
          Found By: ---

Recent changes in Mono.Data.Tds (r105424) have broken SqlConnection badly on
the 1.0 profile.

To reproduce, compile and run the following code (after adjusting the
connection string):

using System;
using System.Data.SqlClient;

class Program
        static void Main ()
                SqlConnection conn = new SqlConnection ();
                conn.ConnectionString = "Data Source=XXX;Initial
Catalog=YYY;User ID=sa;Pwd=ZZZ";
                conn.Open ();

Expected result:

Connection successfully opened.

Actual result:

Unhandled Exception: System.ArrayTypeMismatchException: Source array type
 be assigned to destination array type.
  at Mono.Data.Tds.Protocol.TdsConnectionPool.GetConnection () [0x0002a] in
  at System.Data.SqlClient.SqlConnection.Open () [0x00132] in
  at (wrapper remoting-invoke-with-check)
en ()
  at Program.Main () [0x00011] in c:\x.cs:10

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