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
mono and devart sqlserver driver
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48