i already installed the latest firebird .net data
provider ver. 1.7.0.b in my visual studio-net. i'm
using vb.net. i added reference to
firebirdsql.data.firebird.dll to my project and
declared "import firebirdsql.data.firebird" statement
in the first line of my script.

below is my script, the line:
(conn.open)  ' this line throws an exception "typeload
exception: Invalid PInvoke metadata format".until now
i cannot open my sample database. what is the problem?
is there any additional installation needed?
thanks in advance for your immediate reply.


dim cs as new FbConnectionStringBuilder()
cs.datasource = "local"
cs.database = "c:\test.fdb"
cs.userid = "SYSDBA"
cs.password = "masterkey"

dim conn as new FbConnection(cs.tostring())

conn.open() ' this line throws an exception "typeload
exception: Invalid PInvoke metadata format"



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to