2010/2/25 Lucjan Łyczak <[email protected]>:
> First - the version of library isn't changed. I've downloaded
> NETProvider-2.5.2.zip file and FirebirdSql.Data.FirebirdClient.dll has still
> version number 2.5.1.0.

When I download the ZIP I see correct version. I uploaded the file
again so the replication will hopefully reload the file on all server.

> Second - it's about use with NHibernate. A bug has appeared after replacing
> recent version of FirebirdSql.Data.FirebirdClient.dll with the new one.
> After executing my app, while building session factory, NHibernate throws
> HibernateException with message "Could not create the driver from
> NHibernate.Driver.FirebirdClientDriver."
> InnerException: NHibernate.HibernateException, Message="The IDbCommand and
> IDbConnection implementation in the assembly FirebirdSql.Data.FirebirdClient
> could not be found. Ensure that the assembly FirebirdSql.Data.FirebirdClient
> is located in the application directory or in the Global Assembly Cache. If
> the assembly is in the GAC, use <qualifyAssembly/> element in the
> application configuration file to specify the full name of the assembly."
>
> The file IS in the application directory. The problem disappear when I
> revert FirebirdSql.Data.FirebirdClient.dll to the previous version.

FbCommand inherits from DbCommand that implements IDbCommand. Maybe
the NHibernate is trying to load assembly from different path(s).

-- 
Jiri {x2} Cincura (CTO x2develop.com)
http://blog.cincura.net/ | http://www.ID3renamer.com

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to