Application Exceptions (Windows Server AppFabric Caching)

This section covers some come application exceptions for Windows Server AppFabric cache clients. Applications can use .NET exception handling to capture DataCacheException objects. These objects contain two descriptive fields: an ErrorCode field and a SubStatus field.

Some causes of these errors are intermittent and temporary. For that reason, we recommend that you build retry logic into applications that use AppFabric caching features. For more information about how to handle AppFabric caching errors, see Handling Errors.

The following DataCacheException errors are covered in this section.

ErrorCode ErrorCode String SubStatus SubStatus String Details

RetryLater

ERRCA0017

CacheServerUnavailable

ES0006

RetryLater (CacheServerUnavailable)

RetryLater

ERRCA0017

Throttled

ES0007

RetryLater (Throttled)

RetryLater

ERRCA0017

NotPrimary

ES0002

RetryLater (NotPrimary)

RetryLater

ERRCA0017

NoWriteQuorum

ES0003

RetryLater (NoWriteQuorum)

Timeout

ERRCA0018

None

ES0001

Timeout

ConnectionTerminated

ERRCA0016

None

ES0001

ConnectionTerminated

These are just a selection of exceptions covered by this document. For a full list of possible errors, see Appendix 1: Table of Error Code Strings (Windows Server AppFabric Caching).

See Also

Concepts

Troubleshooting (Windows Server AppFabric Caching)