Upgrading from nhibernate 5.2.0 to 5.3.12

79 views
Skip to first unread message

Swadha Mishra

unread,
Aug 20, 2022, 3:11:22 PM8/20/22
to nhusers
Hi,
We are trying to upgrade from nhibernate 5.2.0 to 5.3.12. We are also using Nhibernare.Cache.SysCache package latest version 5.7.0, and this dll is creating issue for us. It is giving us an IO.FileNotFoundException, Saying it is not able to find nhibernate 5.2.0.
Can someone help us?

NHibernate.HibernateException: could not instantiate CacheProvider: NHibernate.Caches.SysCache.SysCacheProvider, NHibernate.Caches.SysCache ---> System.IO.FileNotFoundException: Could not load file or assembly 'NHibernate, Version=5.2.0.0, Culture=neutral, PublicKey
Token=aa95f207798dfdb4' or one of its dependencies. The system cannot find the file specified.
   at System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type)
   at System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
   at System.Reflection.Assembly.GetType(String name, Boolean throwOnError)
   at NHibernate.Util.ReflectHelper.TypeFromAssembly(AssemblyQualifiedTypeName name, Boolean throwOnError)
   at NHibernate.Cfg.SettingsFactory.CreateCacheProvider(IDictionary`2 properties)
   --- End of inner exception stack trace ---
   at NHibernate.Cfg.SettingsFactory.CreateCacheProvider(IDictionary`2 properties)
   at NHibernate.Cfg.SettingsFactory.BuildSettings(IDictionary`2 properties)
   at NHibernate.Cfg.Configuration.BuildSettings()
   at NHibernate.Cfg.Configuration.BuildSessionFactory()


Thanks,
Swadha
Reply all
Reply to author
Forward
0 new messages