Thanks. I stumbled across that too and after I updated the DLLs and 
recompiled the Velocity provider, it is now working. Shame the NH Contrib 
Velocity provider isn't being kept up to date.


On Wednesday, February 20, 2013 6:36:46 PM UTC+11, Ricardo Peres wrote:
>
> See 
> http://stackoverflow.com/questions/3233792/appfabric-could-not-contact-the-cache-service
> You may be using an old dll.
>  
> RP
>
> On Wednesday, February 20, 2013 5:10:52 AM UTC, jason.hill wrote:
>
>> 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.


Reply via email to