我正在嘗試使用Azure In-Role緩存(http://www.windowsazure.com/en-us/manage/services/cache/net/how-to-in-role-cache/)。我正在使用專用角色方案(專用角色中的主機緩存)。我在解決方案中有兩個角色 - 工作角色和緩存角色(稱爲CacheWorkerRole)。 在我的工人角色的的app.config(緩存客戶端)我有以下幾點:Azure緩存不起作用(ErrorCode <ERRCA0017>:SubStatus <ES0006>)。 SDK 2.2
<dataCacheClient name="default">
<autoDiscover isEnabled="true" identifier="CacheWorkerRole" />
<localCache isEnabled="true" sync="TimeoutBased" objectCount="100000" ttlValue="300" />
</dataCacheClient>
當我做本地部署我總是有錯誤:
> ErrorCode<ERRCA0017>:SubStatus<ES0006>:There is a temporary failure.
> Please retry later. (One or more specified cache servers are
> unavailable, which could be caused by busy network or servers. For
> on-premises cache clusters, also verify the following conditions.
> Ensure that security permission has been granted for this client
> account, and check that the AppFabric Caching Service is allowed
> through the firewall on all cache hosts. Also the MaxBufferSize on the
> server must be greater than or equal to the serialized object size
> sent from the client.). Additional Information : The client was trying
> to communicate with the server: net.tcp://CacheWorkerRole:24233.
我只是不知道接下來做什麼如何解決這個問題。我嘗試了不同的配置,共同定位和專用角色,沒有任何作用。任何幫助將不勝感激!
夥計們?沒有人可以幫助這個惱人的錯誤? – berliner
我有同樣的問題。它在SDK 2.1和Windows Azure Cache 2.1中運行良好。你有沒有解決這個問題呢? – KevinUK
@KevinUK查看下面的答案。我發現沒有辦法讓它工作。 – berliner