Subject FireBird On Mac
Author Delia Qin
Hi,



Sorry to bother you. I have an issue about reading and updating data with
FireBird database on Mac. We've wrote a program to get data from FireBird
database on Mac, but got the error like that:

Unhandled Exception: System.DllNotFoundException: fbembed

at (wrapper managed-to-native)
FirebirdSql.Data.Client.Embedded.FbClient:isc_attach_database
(int[],int16,byte[],int&,int16,byte[])

at FirebirdSql.Data.Client.Embedded.FesDatabase.Attach
(FirebirdSql.Data.Common.DatabaseParameterBuffer dpb, System.String
dataSource, Int32 port, System.String database) [0x00000] in <filename
unknown>:0

at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect ()
[0x00000] in <filename unknown>:0

at (wrapper remoting-invoke-with-check)
FirebirdSql.Data.FirebirdClient.FbConnectionInternal:Connect ()

at FirebirdSql.Data.FirebirdClient.FbConnectionPool.Create () [0x00000] in
<filename unknown>:0

at FirebirdSql.Data.FirebirdClient.FbConnectionPool.CheckOut () [0x00000]
in <filename unknown>:0

at (wrapper remoting-invoke-with-check)
FirebirdSql.Data.FirebirdClient.FbConnectionPool:CheckOut ()

at FirebirdSql.Data.FirebirdClient.FbPoolManager.GetConnection
(System.String connectionString) [0x00000] in <filename unknown>:0

at FirebirdSql.Data.FirebirdClient.FbConnection.Open () [0x00000] in
<filename unknown>:0

[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: fbembed

at (wrapper managed-to-native)
FirebirdSql.Data.Client.Embedded.FbClient:isc_attach_database
(int[],int16,byte[],int&,int16,byte[])

at FirebirdSql.Data.Client.Embedded.FesDatabase.Attach
(FirebirdSql.Data.Common.DatabaseParameterBuffer dpb, System.String
dataSource, Int32 port, System.String database) [0x00000] in <filename
unknown>:0

at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect ()
[0x00000] in <filename unknown>:0

at (wrapper remoting-invoke-with-check)
FirebirdSql.Data.FirebirdClient.FbConnectionInternal:Connect ()

at FirebirdSql.Data.FirebirdClient.FbConnectionPool.Create () [0x00000] in
<filename unknown>:0

at FirebirdSql.Data.FirebirdClient.FbConnectionPool.CheckOut () [0x00000]
in <filename unknown>:0

at (wrapper remoting-invoke-with-check)
FirebirdSql.Data.FirebirdClient.FbConnectionPool:CheckOut ()

at FirebirdSql.Data.FirebirdClient.FbPoolManager.GetConnection
(System.String connectionString) [0x00000] in <filename unknown>:0

at FirebirdSql.Data.FirebirdClient.FbConnection.Open () [0x00000] in
<filename unknown>:0



It happened when executing this code:

FbConnection connection = new FbConnection(connectionString)



After I copied fbembed.dll to the same folder with the program's. It still
doesn't work.



Could we get data from it on Mac? If it can, can you give me some guides or
demo projects on Mac? The information related to Mac is really lack.



Your help is really appreciated.



Thanks.





[Non-text portions of this message have been removed]