This project is read-only.

web.config error for cacheProvider

Aug 7, 2008 at 1:43 PM

Any ideas here? I'm getting an initialization error when parsing the web.config, line 39 is highlighted in red. The sectionGroup and sections are correct so I'm not sure that it's actually a configuration issue.


Parser Error Message: The type initializer for 'MemcachedProviders.Common.MemcachedClientService' threw an exception.

Source Error:
Line 37:     <cacheProvider defaultProvider="MemcachedCacheProvider">
Line 38:         <providers>
Line 39:             <add name="MemcachedCacheProvider" type="MemcachedProviders.Cache.MemcachedCacheProvider,MemcachedProviders" keySuffix="" defaultExpireTime="2000"/>
Line 40:         </providers>
Line 41:     </cacheProvider>

Aug 7, 2008 at 2:20 PM
I have resolved the issue above. We are already using log4net, but a different version that is required for our nHibernate provider to function, so I'm still having difficulty incorporating Memcached. It is an interesting problem of 'dll hell' between solution providers. I will remove the Enyim references to log4net and recompile to see if I have any luck.