[Mono-dev] Mono and MySql.Data problem - System.Transactions
monoman at gmail.com
Wed May 18 07:26:16 EDT 2011
Did you pass your app in MoMA? I'm quite sure System.Transactions is
incomplete in Mono, so probably you're bumping on some missing/bugged part
of it. Bug reports with some code to reproduce the problem are welcome, but
I don't know where should you post it.
Rafael "Monoman" Teixeira
"The most exciting phrase to hear in science, the one that heralds new
discoveries, is not 'Eureka!' (I found it!) but 'That's funny ...'"
US science fiction novelist & scholar (1920 - 1992)
On Mon, May 16, 2011 at 5:58 PM, SamHellawell <samlikeswilly at live.co.uk>wrote:
> Hey there!
> So basically, after hours setting up my Ubuntu VPS to get Mono to run my
> application (CLI), I get this error when trying to use MySQL:
> [ERROR] MySQL getCommand: Invalid IL code in
> System.Transactions.Transaction:get_Current (): method body is empty.
> [ERROR] MySQL getString: Object reference not set to an instance of an
> The getString method generates a command from getCommand, which is:
> public MySqlCommand getCommand(string query)
> if (connection.State != System.Data.ConnectionState.Closed)
> MySqlCommand command = newCommand();
> command.CommandText = query;
> return command;
> catch (Exception e)
> Log.Error("MySQL getCommand: " + e.Message);
> return null;
> The method newCommand() just returns connection.CreateCommand() - something
> along those lines, don't have the source here.
> Anybody have any ideas? I've tried uninstalling and install mono, many
> of MySql.Data (in gac also).
> Thanks, Sam.
> View this message in context:
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list