NHibernate.HibernateException: could not instantiate CacheProvider: NHibernate.Caches.SysCache.SysCacheProvider, NHibernate.Caches.SysCache ---> System.InvalidCastException: Specified cast is not valid.
at NHibernate.Cfg.SettingsFactory.BuildSettings(IDictionary properties)
--- End of inner exception stack trace ---
at NHibernate.Cfg.SettingsFactory.BuildSettings(IDictionary properties)
at NHibernate.Cfg.Configuration.BuildSessionFactory()
In case of using SysCache for only one ASP.NET project
all worked fine.
By the way for some time the problem dissapeared when I
replaced NHibernate (and all other dlls it uses) for release 1.0.0.
But at the moment I see the same error.
KPixel wrote:
Can you post the whole exception information?
You may also try to use this cache in a simpler situation to isolate the problem...