Hi!

First, thanks for the job upon the provider.

I think I've found two bugs.

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.

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.

I use NHibernate in version 2.1.2.4000, Firebird 2.5 RC2 superserver. If
there's a need of other information, tell me.
Below I paste full exception information.

Regards,

Lucek

NHibernate.HibernateException was unhandled by user code
  Message="Could not create the driver from
NHibernate.Driver.FirebirdClientDriver."
  Source="NHibernate"
  StackTrace:
       w
NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary`2
settings)
       w NHibernate.Connection.ConnectionProvider.Configure(IDictionary`2
settings)
       w
NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider(IDicti
onary`2 settings)
       w NHibernate.Cfg.SettingsFactory.BuildSettings(IDictionary`2
properties)
       w NHibernate.Cfg.Configuration.BuildSettings()
       w NHibernate.Cfg.Configuration.BuildSessionFactory()
       w Core.es.db.nhibernate.NHManager.Connect() w C:\Documents and
Settings\Marcin\Moje dokumenty\PE3\Core\es\db\nhibernate\NHManager.cs:wiersz
41
       w Core.es.gui.main.LogForm.bgNHInitializer_DoWork(Object sender,
DoWorkEventArgs e) w C:\Documents and Settings\Marcin\Moje
dokumenty\PE3\Core\es\gui\main\LogForm.cs:wiersz 200
       w System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
       w System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object
argument)
  InnerException: System.Reflection.TargetInvocationException
       Message="Obiekt docelowy wywołania zgłosił wyjątek." [in english:
target object has thrown an exception]
       Source="mscorlib"
       StackTrace:
            w System.RuntimeTypeHandle.CreateInstance(RuntimeType type,
Boolean publicOnly, Boolean noCheck, Boolean& canBeCached,
RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
            w System.RuntimeType.CreateInstanceSlow(Boolean publicOnly,
Boolean fillCache)
            w System.RuntimeType.CreateInstanceImpl(Boolean publicOnly,
Boolean skipVisibilityChecks, Boolean fillCache)
            w System.Activator.CreateInstance(Type type, Boolean nonPublic)
            w System.Activator.CreateInstance(Type type)
            w
NHibernate.Bytecode.ActivatorObjectsFactory.CreateInstance(Type type)
            w
NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary`2
settings)
       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."
            Source="NHibernate"
            StackTrace:
                 w NHibernate.Driver.ReflectionBasedDriver..ctor(String
driverAssemblyName, String connectionTypeName, String commandTypeName)
                 w NHibernate.Driver.FirebirdClientDriver..ctor()
            InnerException:


------------------------------------------------------------------------------
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