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.

enter image description here

enter image description here

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

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -