From: Anderson da S. <aro...@ya...> - 2003-05-24 12:01:41
|
I'm new to Firebird (just download it yesterday with the .NET provider) and I would like to use it with VB.NET. However I'm having problems connecting to the DB. Whenever I execute the Open method of FBConnection I get the following message: An unhandled exception of type 'System.TypeLoadException' occurred in firebirdsql.data.firebird.dll Additional information: Invalid PInvoke metadata format. I'm using the Firebird 1.5 and the .NET provider 1.0 RC-3. I can connect to the database using isql or ibaccess Thanx, Anderson VB.NET code ============ Dim myConnection As String myConnection = _ "database=c:\firebirddb\testfb.fdb;" & _ "user=SYSDBA;" & _ "password=mypwd" Dim f As New FirebirdSql.Data.Firebird.FbConnection(myConnection) f.Open() --------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. |