Hi Guys,

 

I'm using Firebird.Data.FirebirdClient.dll version 2.6.5.0 and fbembed.dll
version 2.5.1.26351 with a .NET v4.0 c# application. It works fine on my
development machine but when I install on a target Windows XP box I get an
error "System.DllNotFoundException: Unable to load DLL 'C:\Program
Files\myfolder\fbembed.dll'".  I have the provider DLL and the fbembed.dll
in the exe folder along with the ib_util.dll, the ic*.dlls, the intl and udf
folders and the firebird.msg file.

 

My connection string is "user id=SYSDBA;password=masterkey;initial
catalog="C:\Documents and Settings\All Users\Application
Data\Data\mydatabase.Fdb";dialect=3;role name=;connection lifetime=15;min
pool size=0;max pool size=50;packet size=8192;pooling=True;server
type=Embedded;client library=C:\Program Files\myfolder\fbembed.dll;" 

 

I've read every post I could find about this problem and I can't see what
I'm missing.

 

Any ideas?

 

Thanks...

 

Here's the complete error text:

System.DllNotFoundException: Unable to load DLL 'C:\Program
Files\myfolder\fbembed.dll': This application has failed to start because
the application configuration is incorrect. Reinstalling the application may
fix this problem. (Exception from HRESULT: 0x800736B1)

   at FB_1861246983_Class.isc_attach_database(IntPtr[] statusVector, Int16
dbNameLength, Byte[] dbName, Int32& dbHandle, Int16 parmBufferLength, Byte[]
parmBuffer)

   at FB_1861246983_Class.IFbClient.isc_attach_database(IntPtr[]
statusVector, Int16 dbNameLength, Byte[] dbName, Int32& dbHandle, Int16
parmBufferLength, Byte[] parmBuffer)

   at
FirebirdSql.Data.Client.Native.FesDatabase.Attach(DatabaseParameterBuffer
dpb, String dataSource, Int32 port, String database)

   at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect()

   at FirebirdSql.Data.FirebirdClient.FbConnectionPool.Create()

   at FirebirdSql.Data.FirebirdClient.FbConnectionPool.CheckOut()

   at FirebirdSql.Data.FirebirdClient.FbConnection.Open()

 

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to