[Mono-bugs] [Bug 694997] New: System.Data.SqlClient.SqlException: The data types varbinary(max) and image are incompatible in the equal to operator.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu May 19 17:29:56 EDT 2011


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

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


           Summary: System.Data.SqlClient.SqlException: The data types
                    varbinary(max) and image are incompatible in the equal
                    to operator.
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: 64bit
        OS/Version: RHEL 5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: msafar at novell.com
        ReportedBy: srfcanada at hotmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; MS-RTC LM 8; .NET4.0C;
NET4.0E; .NET CLR 3.5.30729)

when using a varbinary(max) column in a where clause we get the incompatile in
the equals operator. Using Varbinary as the sqldbtype will always work unless
the ammount of data used is > than 8000 characters . 

Note that the sames app works on windows but generates this error on mono.


Reproducible: Always

Steps to Reproduce:
1.complile fail10.cs
2.run the sqlserver script to create the table 
3.run fail10 and it will generate the error

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