mono and devart sqlserver driver

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Microsoft SQL Server
Post Reply
flutos
Posts: 31
Joined: Tue 06 Oct 2009 21:55

mono and devart sqlserver driver

Post by flutos » Thu 23 Sep 2010 18:35

Im not sure but does the devart sqlserver driver work on mono. I was trying it out since the mono sqlserver driver has some bugs that prevent us from using it . Given that Im having problems just creating a connection. Im getting the following error:
Missing method System.Data.SqlClient.SqlParameter::set_UdtTypeName(string) in assembly /usr/local/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll, referenced in assembly /mnt/hgfs/d/Projects/DRMSPROD/Bin/SuSE11.3/x64/gcc/Debug/Devart.Data.SqlServer.dll
Error message:System.MissingMethodException: Method not found: 'System.Data.SqlClient.SqlParameter.set_UdtTypeName'.
at (wrapper remoting-invoke-with-check) Devart.Data.SqlServer.SqlParameter:a ()
at Devart.Data.SqlServer.SqlCommand.a (Devart.Data.SqlServer.bc A_0) [0x00000] in :0
at Devart.Data.SqlServer.SqlCommand.a (CommandBehavior A_0, IDisposable A_1, Int32 A_2, Int32 A_3) [0x00000] in :0

It works ok on windows but on mono its getting this error.Im not sure but it could be a mono bug given it looks like its trying to do a reflection method call but instead of looking for the method in Devatart.Data.SqlServer.SqlParameter, its looking for it in System.Data.SqlClient.SqlPaqrameter. Thats as far as I can go in debugging it since the dll os obvuscated so hopefully this would be enough.


thanks

scott

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Fri 24 Sep 2010 16:27

dotConnect for SQL Server does not provide support for Mono. However, we will investigate the possibility of implementing such support and inform you about the results.

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Fri 01 Oct 2010 15:54

We do not plan to implement the support for Mono in dotConnect for SQL Server. The reason is that it uses the standard System.Data.SqlClient data provider which is not supported under Mono.

Post Reply