Timeouts

You may get below error in the Event Viewer:

AppFabricCache.Get(key, region) Region: NGCommonCache Error: Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0018>:SubStatus<ES0001>:The request timed out

You can tweak the timeout settings for the service app to increase to 500 for example.

SocialSitesCacheConfig.zip is included in the download.

Then in a command prompt run

.\SocialSitesCacheConfig.exe –CacheRequestTimeout 500

If you’re still experiencing issues, you’ll probably need to increase the maxConnectionsToServer in the web.config of the web application.

To do this, one must modify the web.config to include these elements:

<?xml version="1.0" encoding="utf-8" ?> <configuration> <!--configSections must be the FIRST element --> <configSections> <!-- required to read the <dataCacheClient> element --> <section name="dataCacheClient" type="Microsoft.ApplicationServer.Caching.DataCacheClientSection, Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" allowLocation="true" allowDefinition="Everywhere"/> </configSections> <dataCacheClientrequestTimeout="15000" channelOpenTimeout="3000" maxConnectionsToServer="100"> <localCacheisEnabled="true" sync="TimeoutBased" ttlValue="300" objectCount="10000"/> <clientNotificationpollInterval="300" maxQueueLength="10000"/> <hosts> <host name="CacheServer1" cachePort="22233"/> <host name="CacheServer2" cachePort="22233"/> </hosts> <securityProperties mode="Transport" protectionLevel="EncryptAndSign" /> <transportPropertiesconnectionBufferSize="131072" maxBufferPoolSize="268435456" maxBufferSize="8388608" maxOutputDelay="2" channelInitializationTimeout="60000" receiveTimeout="600000"/> </dataCacheClient> </configuration>