Area: Optimizely CMS
Applies to versions: 12 and higher
Other versions:

Configuring DataAccess and DynamicDataStore

Recommended reading 

The following Json pseudocode describes the DynamicDataStoreOptions section of the configuration file. The Configuration topic describes the syntax used in the description of the configuration elements. 

  "EPiServer": {
    "Cms": {
       "DataAccess": {
          "Retries": "5",
          "DatabaseQueryTimeout": "0:0:30",
       "DynamicDataStore": {
           "DeleteAllOperationTimeout":"time span"


Name Default value Description
RetryDelay  0:0:0.1 The time to wait before retrying in case of a transient error (only relevant if retries is greater than 0). Retry delays are
Retries  5 The number of retry attempts in case a transient error such as a deadlock occurs or a timeout when opening the connection.
DatabaseQueryTimeout 0:0:30 The timeout value to use for all database queries (in other words DbCommand.CommandTimeOut).
DatabaseMode  ReadWrite The database mode can be configured by the databaseMode attribute on the episerver.dataStore section or by the episerver:DatabaseMode setting under the appSettings section. See Database mode for more information.


The dataStore element is optional. Configuration values in web.config override default values in code.
Name Default value Description
AutoRemapStores  true Defines whether stores are automatically remapped when a type definition changes.
AutoResolveTypes  true Defines whether type resolution by the Dynamic Data Store is automatic.
DeleteAllOperationTimeout  600 Command timeout for the delete all functionality.

Do you find this information helpful? Please log in to provide feedback.

Last updated: Sep 28, 2021

Recommended reading