Strange Cache Exception: "The request did not find the primary."


  • The exception:

    Error: Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode:SubStatus:There is a temporary failure. Please retry later. (The request did not find the primary.) at Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBody) at Microsoft.ApplicationServer.Caching.DataCache.InternalGet(String key, DataCacheItemVersion& version, String region, IMonitoringListener listener) at Microsoft.ApplicationServer.Caching.DataCache.<>c__DisplayClass49.b__48() at Webstore.UrlRewriter.OnBeginRequest(Object sender, EventArgs e) in \HTTPModule.vb:line 47 at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    was generated on a simple line that checks for the presence of a key in the cache:

    If daultCache("t" & app.Context.Request.Url.Host) Is Nothing Then ...

    This line has never thrown this exception before in several months of use. What does this exception mean? I'm only running a single instance, and I am using the local cache with a 5 minute timeout. Was it just a temporary failure of the app to reach the distributed cache server(s)?


    Luke Latham, CEO & Chairman
    SellRex Corporation

    Thursday, October 6, 2011 7:15 AM


All replies