thanks On Tue, Aug 9, 2011 at 1:04 AM, Vlad Khorsun <hv...@users.sourceforge.net> wrote: >>I will start by describing the environment i have now. >> My application code is running inside a game engine Unity3D. The code >> is C# using mono which supports .NET 2.0. >> The DB i am interested in is the embedded deployment, so when i ship >> the game users don't need to install anything else. >> >> The problem starts with the engine game packaging. I needed to place >> the DLL in one place adn the DB file in a different place. I followed >> the instructions here: >> http://www.firebirdsql.org/manual/ufb-cs-embedded.html >> and so my folder tree looked like this: >> ... >> GameDirectory-> >> Assets >> Plugins >> FirebirdSql.Data.FirebirdClient.dll >> fbembed.dll >> cu*.dll >> ib_util.dll >> firebird.conf -> RootDirectory = d:\GameDirectory\Assets\DB >> DB >> firebird.msg >> GAMEDB.FDB >> When running the game i with this connection: >> FbConnectionStringBuilder cs = new FbConnectionStringBuilder(); >> cs.ServerType = FbServerType.Embedded; >> cs.Database = "GAMEDB.FDB"; >> cs.UserID = "SYSDBA"; >> cs.Password = "masterkey"; > > RootDirectory have nothing common with database path. Don't change it > and use full path to the database file at your connection string. > > Regards, > Vlad > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > Firebird-Devel mailing list, web interface at > https://lists.sourceforge.net/lists/listinfo/firebird-devel >
------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel