c# - How to run Firebird embedded database with ASP.NET 5? -
i trying run firebird embedded database mvc 6 application. using fluent nhibernate. configuration shown below:
var firebird = new firebirdconfiguration(); var cs = @"user=sysdba;password=masterkey;database=sampledatabase.fdb;datasource=localhost; port = 3050; dialect = 3; charset = none; role =; connection lifetime = 15; pooling = true; minpoolsize = 0; maxpoolsize = 50; packet size = 8192; servertype = 1; "; sessionfactory = fluently.configure() .mappings(m => m.fluentmappings.addfromassembly(assembly.getexecutingassembly())) .database(firebird.connectionstring(cs)).buildconfiguration() .buildsessionfactory();
i have installed nuget package firebirdsql.data.firebirdclient
however getting error:
unable load dll 'fbembed': specified module not found.
i trying include dll in reference getting build error saying reference cannot restored.
what need running ?
p.s: have failed use sqlite due similar situation/error.
you might need add fbembed.dll bin folder in asp.net application icu* files (from embedded firebird zip package) bin folder.
Comments
Post a Comment