I am testing an Azure web role and am getting the following error when
using the Velocity cache provider:
ErrorCode<ERRCMC0004>:"dcacheClient" tag not specified in the application
configuration file. Specify valid tag in configuration file.
The web.config contains the following configsections:
<section name="dataCacheClients"
type="Microsoft.ApplicationServer.Caching.DataCacheClientsSection,
Microsoft.ApplicationServer.Caching.Core" allowLocation="true"
allowDefinition="Everywhere" />
<section name="cacheDiagnostics"
type="Microsoft.ApplicationServer.Caching.AzureCommon.DiagnosticsConfigurationSection,
Microsoft.ApplicationServer.Caching.AzureCommon" allowLocation="true"
allowDefinition="Everywhere" />
and the following config:
<dataCacheClients>
<dataCacheClient name="default">
<autoDiscover isEnabled="true" identifier="[my web role is entered
here]" />
<localCache isEnabled="true" sync="TimeoutBased" objectCount="100000"
ttlValue="300" />
</dataCacheClient>
</dataCacheClients>
<cacheDiagnostics>
<crashDump dumpLevel="Off" dumpStorageQuotaInMB="100" />
</cacheDiagnostics>
and the cache provider in NH config:
<property
name="cache.provider_class">NHibernate.Caches.Velocity.VelocityProvider,
NHibernate.Caches.Velocity</property>
Can't seem to find any resolution for this error. Any ideas?
I have downloaded the latest versions of NH 3.3.1 and NH Contrib 3.2.
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.