Hi,
An unhandled exception of type 'System.TypeLoadException' occured in
system.dll
Additional information: Invalid PInvoke metadata format
Im getting this error afrer calling myConnection.Open();
Im connecting to Firebird database (im trying in fact)
I don't know whats wrong :( Please Help.
This is piece of code:
string connectionString =
"User=SYSDBA;" +
"Password=masterkey;" +
"Database=test2.fdb;" +
"DataSource=localhost;" +
"Port=3050;" +
"Dialect=3;" +
"Charset=NONE;" +
"Role=;" +
"Connection lifetime=15;" +
"Pooling=true;" +
"Packet Size=8192";
FbConnection myConnection = new FbConnection(connectionString);
myConnection.Open();
Thanx
gacu