|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi all,
I am a delphi developer with experiance with ib/firebird. Is anyone using the .net provider? I have problems with connection to my firebird database. When I create connection, it's ok, but when I want Open connection, application throw an error: "An unhandled exception of type 'System.TypeLoadException' occurred in firebirdsql.data.firebird.dll Additional information: Invalid PInvoke metadata format." My code is so easy and I can't find some errors there. string ConnectionString = "Database=D:\\DBINI.GDB;User=SYSDBA;Password=masterkey;Dialect=3;Server=localhost"; FbConnection MainConnection = new FbConnection(ConnectionString); MainConnection.Open(); // here an error occurred . . . Thanks for your help Lendy |
|
#2
|
||||
|
||||
|
What versions of provider sdk and firebird server ?
|
|
#3
|
|||
|
|||
|
Provider 1.0
Firebird 1.0 |
|
#4
|
|||
|
|||
|
Hello:
First of all tell that is better to ask this questions in the Firebird .NET Data porovider developement list. Which version of the .NET Framekwork are you using and in the case of the .NET Provider what version are you using ( this means for what .NET Framework version ) |
|
#5
|
|||
|
|||
|
Quote:
I got the EXACT same error with VB.NET Using Firebird .NET Data Provider 1.6.1 and .NET 1.1 Code:
Dim myConnString As String = "Database=C:\EMPLOYEE.FDB;User=SYSDBA;Password=masterkey;Dialect=3;Server=localhost" Dim connection As FbConnection = New FbConnection(myConnString) connection.Open() ' error Please help Thanks RX_coder |
|
#6
|
|||
|
|||
|
FB & .NET Ok
Try FirebirdNETProvider 1.5.2-NET1.1
I have this Provider installed and it's ok. (in C#) I have it with .NET Framework 1.1. Lendy |
|
#7
|
|||
|
|||
|
I need Firebird .NET COmpact Framework Data Provider to access from Pocket PC to Firebird DB
|
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > Firebird & .NET |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|