Hi all
!
I'm having a living
hell to connect to a firebird database using Mono on a SUSE Linux machine. This
is not something I do for fun, but because I'm forced to make something work on
Linux. I took me 5 min on Windows, and I've used 5 weeks on Linux. And it's not
just because I don't know Linux.
Ok here's what I
have:
Lastest Mono (1.2) -
and it works
Firebirdsql.data.firebird version 1.7 as it came bundled with this Mono
installation.
Now, I can't even
get passed the connectionstring parameters. I've followed the instructions on
the mono page and also Miguel's instructions on this page: http://tirania.org/blog/archive/2005/Sep-30-2.html
In the uses on
top:
using
System.Data;
using
FirebirdSql.Data.Firebird;
Here's my
code:
string
connectionString =
"Database=MYDB.GDB;servertype=1;user=sysdba;password=masterkey;
IDbConnection dbcon
= new FbConnection(connectionString);
Here's the
errormessages (via MonoDevelop):
Cannot convert from
'object' to string (CS1503: Argument1);
The best overloaded
method match for 'FirebirdSQL.Data.Firebird.FbConnection.FbConnection(string)'
has some invalied arguments(CS1502).
Why is this example
written as an example on the official Mono site, when it is clearly wrong ?
Has the firebird
provider method been changed ?
Does anyone in the world use Firebird with Mono
?
Thanks in
advance.
Best
wishes
Kai
Bohli
Norway
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Firebird-net-provider mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
