I have noticed that several Windows Azure developer’s hitting below mentioned error message, while adding large size of data to Windows Azure share or dedicated cache
[DataCacheException: 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.
aso the MaxBufferSize on the server must be greater than or equal to the serialized object size sent from the client.)]
One of the reasons for this issue might be due to hitting the Windows Azure Cache limitation, where you can not add more than 8MB data at a time. The simple workaround for this issue is to split the object into smaller chunks, i.e you can serialize the object into smaller byte arrays
and pass the arrays to cache as multiple objects.
If the size is under 8MB, and you still receive the same error then please follow the below mentioned msdn article to investigate the issue further :
- Troubleshooting and Diagnostics for Windows Azure Caching