Click here to Skip to main content
13,005,991 members (87,511 online)
Rate this:
Please Sign up or sign in to vote.

I am getting this error "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.)".

This error only happens when my query returns more than 500+ rows of data. Everything is successfully fetched when query returns less than - 300 rows.

using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using Microsoft.ApplicationServer.Caching;
public class Store
public static DataCacheFactory dataCacheFactory = new DataCacheFactory();
public static DataCacheFactoryConfiguration dataCacheFactoryConfiguration = new DataCacheFactoryConfiguration();
public static DataCache dataCache;
public Store()
dataCacheFactoryConfiguration = new DataCacheFactoryConfiguration {
ChannelOpenTimeout = new TimeSpan(0, 10, 0),
RequestTimeout = new TimeSpan(0, 10, 0)
dataCacheFactory = new DataCacheFactory(dataCacheFactoryConfiguration);
dataCache = dataCacheFactory.GetDefaultCache();
public void StoreCacheRecord()
if (dataCache.Get("cache-key") == null) {
dataCache.Put("cache-key", "Record has more than 500+ rows", TimeSpan.FromSeconds(1200)); //<--error
Posted 4-Jul-12 2:07am
Updated 4-Jul-12 2:10am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170628.1 | Last Updated 9 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100