ErrorCode<ERRCA0017>:SubStatus<ES0006>:There is a temporary failure. Please retry later.


  • I am trying to learn the cache concept in windows azure, during this i am finding the below error.

    in web config,

    <?xml version="1.0" encoding="utf-8"?>
        <!-- Append below entry to configSections. Do not overwrite the full section. -->
        <section name="dataCacheClients" type="Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core" allowLocation="true" allowDefinition="Everywhere" />
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />

        <dataCacheClient name="sam">
            <host name="" cachePort="22233" />

          <securityProperties mode="Message">
              authorizationInfo="took it from the windows azure site"

    in Code:----->

    using System;
    using System.Runtime.Serialization;
    using Microsoft.ApplicationServer.Caching;

    namespace MoreCaching
      public class Name
        public string First { get; set; }
        public string Last { get; set; }

      class Program
        static DataCacheFactory _factory = new DataCacheFactory(new DataCacheFactoryConfiguration("sam"));
        static void Main(string[] args)
          DataCache cache = _factory.GetDefaultCache();
          var name = new Name { First = "Scott", Last = "Seely" };
          const string key = "thekey";
          DataCacheItemVersion dciv = cache.Add(key, name, TimeSpan.FromSeconds(30));
            name.First = "Vince";
            cache.Put(key, name, TimeSpan.FromSeconds(30));
            var data = (Name)cache.Get(key);
            cache.Add(key, name, TimeSpan.FromSeconds(30));
          catch (DataCacheException dce)
            if (dce.SubStatus == DataCacheErrorSubStatus.None)
              Console.WriteLine("No extra information");


    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.)

    Wednesday, March 07, 2012 6:55 AM


All replies