AppFabric Cache error: ErrorCode<ERRCA0017>:SubStatus<ES0001>

Вопрос AppFabric Cache error: ErrorCode<ERRCA0017>:SubStatus<ES0001>

  • 23 июля 2012 г. 3:38
     
     

    I have a C#.NET windows console application which runs 24*7*365. It creates an AppFabric Cache Factory at its startup, and then checks for some objects in the cache in periodic intervals. However, I see the the below errors at times:

    Microsoft.ApplicationServer.Caching.DataCacheException: <ERRCA0017>:SubStatus<ES0001>:There is a temporary failure.

    Microsoft.ApplicationServer.Caching.DataCacheException: <ERRCA0017>:SubStatus<ES0002>:There is a temporary failure. Please retry later

    Note: these errors are not showing up all the time - they happen intermittently. After an occurance of the error, it seems like the application continues to run successfully.

    Whenever the Console application terminates for some reason, there is a Windows service that runs to monitor the application and start it if it is not running. This is fyi.

    Could someone please give some pointers to fix the errors?



    • Изменено RajeshJoseph 24 июля 2012 г. 5:37
    •  

Все ответы

  • 7 августа 2012 г. 15:15
     
     

    Quite often you will see temporary AppFabric failures, particularly if your network or AppFabric hosts are busy.  You should just wait a short time and retry.  We access AppFabric cache through a wrapper that automates retries on failure.  Technically you should delay retries based on exponential back off, but just permuting a shortish (50-150ms) interval should do.