caching - Unable to cast object of type 'NHibernate.Caches.SysCache.SysCacheProvider' to type 'NHibernate.Cache.ICacheProvider' -


i'm using nhibernate 2.1.2 via castl activerecord. wanted set second level cache using syscache. got error:

unable cast object of type 'nhibernate.caches.syscache.syscacheprovider' type 'nhibernate.cache.icacheprovider'.

how can correct this?

i'm guessing have assemblies locally in project , others in gac have version mismatch mauricio saying. make sure nhibernate.caches.syscache.dll in bin folder (for website), correct version , check don't have in gac.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -