I sent the user with the problem both MSVC Runtime packages for both 6.0  
and 2005 but nethier helped :/. And that shouldn't render a  
DllNotFoundException anyway since those dlls aren't called by .Net but by  
the native code in fbembedded.dll.

/ Karl

On Mon, 13 Oct 2008 23:40:52 +0200, Helen Borrie <[EMAIL PROTECTED]>  
wrote:

> At 05:55 14/10/2008, you wrote:
>> That was strange. I have an application that executes just fine for most
>> of my users (XP and Vista both) but for this one XP user I'm getting a
>> System.DllNotFoundException when I try to connect to the database. I'm
>> using Firebird Embedded (FirebirdSql.Data.FirebirdClient.dll is version
>> 2.5 and fbembed.dll is 2.0.4). I've checked his installation and all  
>> seems
>> fine, it tries to load the assemblies and external dlls from the correct
>> folder and all the files are there but it just won't work. The
>> ConnectionString is hardcoded into my application so it hasn't changed  
>> on
>> his system. After looking through the source the only reference to any  
>> dll
>> that I don't have was CLRExternal.dll but it seems that it was wrong
>> aswell.
>>
>> I'm new with firebird and don't really know where to look from here.  
>> This
>> is the stacktrace from the FbConnection.Open() call to the exception if  
>> it
>> helps any.
>>
>> Stacktrace:
>>    at FB_965910463_Class.isc_attach_database(IntPtr[] statusVector,  
>> Int16
>> dbNameLength, Byte[] dbName, Int32& dbHandle, Int16 parmBufferLength,
>> Byte[] parmBuffer)
>>    at FB_965910463_Class.IFbClient.isc_attach_database(IntPtr[]
>> statusVector, Int16 dbNameLength, Byte[] dbName, Int32& dbHandle, Int16
>> parmBufferLength, Byte[] parmBuffer)
>>    at
>> FirebirdSql.Data.Client.Native.FesDatabase.Attach(DatabaseParameterBufferdpb,
>> String dataSource, Int32 port, String database)
>>    at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect()
>>    at FirebirdSql.Data.FirebirdClient.FbConnection.Open()
>>    at CrazyBeavers.Applications.BeaverSFV.CheckDB.GetConnection()
>
> Are you sure the msvc* runtimes are installed on that box?  In XP and  
> above they must be *installed* (as opposed to merely copied).
>
> Helen
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great  
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the  
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Firebird-net-provider mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to