【发布时间】:2013-12-03 19:14:56
【问题描述】:
我正在尝试使用 Azure 角色内缓存 (http://www.windowsazure.com/en-us/manage/services/cache/net/how-to-in-role-cache/)。我正在使用专用角色场景(专用角色中的主机缓存)。我在解决方案中有 2 个角色 - 工作角色和缓存角色(称为 CacheWorkerRole)。 在我的工作角色的 app.config(缓存客户端)中,我有以下内容:
<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.
我只是不知道下一步该做什么,如何解决这个问题。我正在尝试不同的配置、同地办公和专用角色,但没有任何效果。任何帮助将不胜感激!
【问题讨论】:
-
伙计们?没有人可以帮助解决这个恼人的错误?
-
我也有同样的问题。它在 SDK 2.1 和 Windows Azure Cache 2.1 上运行良好。问题解决了吗?
-
@KevinUK 在下面查看我的答案。我没有办法让它工作。
-
我刚刚升级到 MVC 5.1.0 和 Razor 3.1.0 等,现在缓存又可以工作了...
标签: caching azure azure-caching