[Mono-list] DBLinq exits with message 'Abort Trap'

James Darbyshire jamesdarbyshire at gmail.com
Tue May 24 20:02:22 EDT 2011


Hi all,

I am trying to create a MySQL LINQ Class using Mono Develop's DB mapping
tool, and having a problem.

When I try and create the class I get the following error:

Cannot create LINQ class >
MonoDevelop.Database.Sql.SqlMetalExecException: sqlmetal: Object reference
not set to an instance of an object
The DB connection works. The MySQL DLL's are installed in the GAC

I am using Monodevelop 2.4 on Mac OSX with the latest Mono runtime (2.10.x)

If I run SqlMetal from terminal with command line arguments to generate a
class I get Abort trap error message:

sudo mono sqlmetal.exe -u user -p *** -s localhost --provider=MySQL -d
Dbname -code=Output.cs

DbLinq Database mapping generator 2008 version 0.20
for Microsoft (R) .NET Framework version 3.5
Distributed under the MIT licence (http://linq.to/db/license)

>>> Reading schema from MySQL database
<<< writing C# classes in file 'Output.cs'
Abort trap

Any help would be greatly appreciated.

Thanks,

JD

-- 
Regards,

James Darbyshire
jamesdarbyshire at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110525/b543ccc3/attachment.html 


More information about the Mono-list mailing list