0

次のリンクを調べましたhttp://msdn.microsoft.com/en-us/library/windowsazure/gg185668.aspxおよびhttp://msdn.microsoft.com/en-us/library/windowsazure/gg185682.aspx

 I want to configure Windows Azure Cache (In role Caching). i found that there 
 are two options Co-located Topology and Dedicated Topology.But i m using co-located i
 had configured web.config has shown in link but i couldn't able to do that plz see below
 web.config i had configured but i m getting error 

私は過去2日間から試していますが、解決策を得ることができました..thnkありがとう

web.config ファイル

 <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" />

 <system.web>
 <sessionState mode="Custom" customProvider="AFCacheSessionStateProvider">
  <providers>
    <add name="AFCacheSessionStateProvider" 
         type="Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider, Microsoft.Web.DistributedCache" 
         cacheName="default" dataCacheClientName="default" applicationName="AFCacheSessionState"/>
  </providers>
</sessionState>
 </system.web>

 <dataCacheClients>

 <dataCacheClient name="default">
 <autoDiscover isEnabled="true" identifier="WebRole1" />
 </dataCacheClient>
 </dataCacheClients>
 <cacheDiagnostics>
<crashDump dumpLevel="Off" dumpStorageQuotaInMB="100" /></cacheDiagnostics> 
</configuration>

エラー.png

ここに画像の説明を入力

4

1 に答える 1

0

これは純粋に、キャッシュ クライアント バイナリが WebRole1 を見つけようとしているが、おそらく WebRole1 が存在しないため、見つけることができないためです。構成で指定したキャッシュ ロール名を確認できますか?

ここで構成を表示したり、縮小した再現を共有したりできますか?

于 2013-10-15T12:37:47.570 に答える