﻿<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developers.de/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Windows Azure AppFabric Cache error</title><link />http://developers.de/blogs/damir_dobric/archive/2011/05/12/windows-azure-appfabric-cache-error.aspx<description>When working with Windows Azure AppFabric Cache you might get following error: ErrorCode&amp;lt;ERRCA0021&amp;gt;:SubStatus&amp;lt;ES0001&amp;gt;:Server collection cannot be empty. Usually when I have no idea what the problem could be, I just assume that the error message</description><dc:language>en</dc:language><generator>CommunityServer 2008 SP1 (Build: 30619.63)</generator><item><title>re: Windows Azure AppFabric Cache error</title><link />http://developers.de/blogs/damir_dobric/archive/2011/05/12/windows-azure-appfabric-cache-error.aspx#487217<pubdate>Wed, 09 Jan 2013 19:09:12 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:487217</guid><dc:creator>Anil</dc:creator><description>&lt;p&gt;Here is the solution that helped me..&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://dotnetthread.com/articles/28-Issue-with-Windows-Azure-Shared-Caching.aspx"&gt;dotnetthread.com/.../28-Issue-with-Windows-Azure-Shared-Caching.aspx&lt;/a&gt; &amp;nbsp;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=487217" width="1" height="1"&gt;</description></item><item><title>re: Windows Azure AppFabric Cache error</title><link />http://developers.de/blogs/damir_dobric/archive/2011/05/12/windows-azure-appfabric-cache-error.aspx#262730<pubdate>Tue, 27 Dec 2011 19:54:50 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:262730</guid><dc:creator>Priti</dc:creator><description>&lt;p&gt;With multiple dataCacheClient sections, you need to specify the dataCacheClient Name while creating the DataCacheClientConfiguration object.&lt;/p&gt;
&lt;p&gt;Example : for using the SSLEndpoint, use this while creating a DataCache object.&lt;/p&gt;
&lt;p&gt;DataCacheFactoryConfiguration conf = new DataCacheFactoryConfiguration(&amp;quot;SslEndpoint&amp;quot;); &lt;/p&gt;
&lt;p&gt;DataCacheFactory dcf = new DataCacheFactory(conf);&lt;/p&gt;
&lt;p&gt;DataCache dc = dcf.GetDefaultCache(); &lt;/p&gt;
&lt;p&gt;If you do not specify the client name it will try to look for the default - which you might have removed from your app&amp;#39;s config&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=262730" width="1" height="1"&gt;</description></item><item><title>re: Windows Azure AppFabric Cache error</title><link />http://developers.de/blogs/damir_dobric/archive/2011/05/12/windows-azure-appfabric-cache-error.aspx#191823<pubdate>Thu, 13 Oct 2011 18:53:40 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:191823</guid><dc:creator>Xun</dc:creator><description>&lt;p&gt;unfortunately, this does not work&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=191823" width="1" height="1"&gt;</description></item><item><title>re: Windows Azure AppFabric Cache error</title><link />http://developers.de/blogs/damir_dobric/archive/2011/05/12/windows-azure-appfabric-cache-error.aspx#191879<pubdate>Wed, 08 Jun 2011 08:16:30 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:191879</guid><dc:creator>nooruddin (nooruddin.khorasi@gmail.com)</dc:creator><description>&lt;p&gt;I am trying to use AppFabric cache to store session data.&lt;/p&gt;
&lt;p&gt;While copying the dataCacheClients from Management Portal, I get two dataCacheClient nodes within it. One is default and other one is Ssl Enabled. I used Ssl Enabled as it is.&lt;/p&gt;
&lt;p&gt;I also made changes to that as per your blog&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://developers.de/blogs/damir_dobric/archive/2011/05/12/windows-azure-appfabric-cache-error.aspx"&gt;developers.de/.../windows-azure-appfabric-cache-error.aspx&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Now I am getting the following error :&lt;/p&gt;
&lt;p&gt;Server Error in &amp;#39;/&amp;#39; Application.&lt;/p&gt;
&lt;p&gt;ErrorCode&amp;lt;ERRCA0017&amp;gt;:SubStatus&amp;lt;ES0006&amp;gt;: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.) &lt;/p&gt;
&lt;p&gt;My web.config file is as follows currently.&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;!--&lt;/p&gt;
&lt;p&gt; &amp;nbsp;For more information on how to configure your ASP.NET application, please visit&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://go.microsoft.com/fwlink/?LinkId=169433"&gt;go.microsoft.com/fwlink&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;--&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;configuration&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;configSections&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;!-- Append below entry to configSections. Do not overwrite the full section. --&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;section name=&amp;quot;dataCacheClients&amp;quot; type=&amp;quot;Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; allowLocation=&amp;quot;true&amp;quot; allowDefinition=&amp;quot;Everywhere&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;/configSections&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;!-- Cache exposes two endpoints: one simple and other ssl endpoint. Choose the appropriate endpoint depending on your security needs. --&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;dataCacheClients&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;lt;dataCacheClient name=&amp;quot;default&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;hosts&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;host name=&amp;quot;SFQBAzureCache.cache.windows.net&amp;quot; cachePort=&amp;quot;22243&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/hosts&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;securityProperties mode=&amp;quot;None&amp;quot; sslEnabled=&amp;quot;true&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;messageSecurity&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;authorizationInfo=&amp;quot;YWNzOmh0dHBzOi8vc2ZxYmF6dXJlY2FjaGUtY2FjaGUuYWNjZXNzY29udHJvbC53aW5kb3dzLm5ldC9XUkFQdjAuOS8mb3duZXImT1hWVlNxV01xMk51NFRBYVl1aXZkTGVLQWozRkd3L2djK2NwczVRMjdvaz0maHR0cDovL1NGUUJBenVyZUNhY2hlLmNhY2hlLndpbmRvd3MubmV0&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/messageSecurity&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/securityProperties&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/dataCacheClient&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;/dataCacheClients&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;system.diagnostics&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;trace&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;listeners&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;add type=&amp;quot;Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;name=&amp;quot;AzureDiagnostics&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;filter type=&amp;quot;&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/add&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/listeners&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/trace&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;/system.diagnostics&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;connectionStrings&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;add name=&amp;quot;ApplicationServices&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=191879" width="1" height="1"&gt;</description></item><item><title>re: Windows Azure AppFabric Cache error</title><link />http://developers.de/blogs/damir_dobric/archive/2011/05/12/windows-azure-appfabric-cache-error.aspx#191880<pubdate>Wed, 08 Jun 2011 08:06:38 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:191880</guid><dc:creator>nooruddin</dc:creator><description>&lt;p&gt;i am trying to use azure appfabric cache. when copying dataCacheClient stuffs into web.config file I used the sslEndPoint option instead of default. I was getting the error shown above.&lt;/p&gt;
&lt;p&gt;I made changes to it as per your instructions. Now I am getting the following error. This error also comes when I use the dataCacheClient tag without ssl.&lt;/p&gt;
&lt;p&gt;Error :&lt;/p&gt;
&lt;p&gt;Server Error in &amp;#39;/&amp;#39; Application.&lt;/p&gt;
&lt;p&gt;ErrorCode&amp;lt;ERRCA0017&amp;gt;:SubStatus&amp;lt;ES0006&amp;gt;: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.) &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=191880" width="1" height="1"&gt;</description></item></channel></rss>