I'm using NHibernate v2.1.2.4000 and NHibernate.Caches.SysCache
v2.1.2.4000 (both verified via Reflector), but when I attempt to use
it I get:

could not instantiate CacheProvider:
NHibernate.Caches.SysCache.SysCacheProvider,
NHibernate.Caches.SysCache","StackTrace":"   at
NHibernate.Cfg.SettingsFactory.CreateCacheProvider(IDictionary`2
properties) in C:\\...\\NHibernate-2.1.2.GA-src\\src\\NHibernate\\Cfg\
\SettingsFactory.cs:line 328
   at NHibernate.Cfg.SettingsFactory.BuildSettings(IDictionary`2
properties) in C:\\...\\NHibernate-2.1.2.GA-src\\src\\NHibernate\\Cfg\
\SettingsFactory.cs:line 192
   at NHibernate.Cfg.Configuration.BuildSettings() in C:\\...\
\NHibernate-2.1.2.GA-src\\src\\NHibernate\\Cfg\\Configuration.cs:line
1651
   at NHibernate.Cfg.Configuration.BuildSessionFactory() in C:\\...\
\NHibernate-2.1.2.GA-src\\src\\NHibernate\\Cfg\\Configuration.cs:line
1202
   at
LoanSifter.ChangeRequests.Base.NHibernateSessionRepository..ctor() in
... my code at BuildSessionFactory();

The only situation I can think that could cause problems is that I
have made an extremely-minor change to NHibernate (made FutureValue
public, else ASP refuses to allow me to capture it in a
JavaScriptConverter), which forced me to recompile Castle before
anything would work, for reasons I don't fully understand.  Do I need
to compile the cache provider along-side as well?  Or might there be a
simpler solution?

In the meantime, I'm using the Hashtable provider (which works), but
this'll eventually go onto a production system, so I can't really
leave it this way.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to