[MonoDevelop] URGENT!! MONO console app bug

Tom Spink tspink at gmail.com
Wed Nov 4 06:25:48 EST 2009


2009/11/4 Patrick Kaldawy <pkaldawy at hotmail.com>:
> Hello,
>
> I have developed a console application using C# (.NET 2.0) the application
> connects to a mySQL database and i'm using the mySQL connector Version
> 6.1.2.0. I compiled the class using the following command:
>
> gmcs Program.cs -r:mysql.data.dll -r:System.Data.dll -r:System.XML.dll
> -r:ResumeBuilder.PdfGenerator.
> dll -r:itextsharp.dll -r:System.dll
>
> After i ran the application on the linux server i got an error (copied
> below). I would appreciate it if anyone can help me figure out what's going
> on. Any ideas would be helpful. Thank you very much in advance.
>
> NOTE: i have registered the MySQL connector DLL in the GAC.

If you look closely at the error (like I did, because it was in red),
then you haven't provided enough of the code that actually causes the
error.

The stack trace is pointing to:

///
 at VeechiResumeBuilder.Program.Get_User_Data () <0xffffffff>
///

Which indicates the error originated here.  Assuming you don't create
and open the connection in the Get_User_Data method, of course, can
you post a more complete example of your code?

-- 
Tom Spink


More information about the Monodevelop-list mailing list