--- title: "KeyErrorLimitAction Element (ASSL) | Microsoft Docs" ms.custom: "" ms.date: "03/14/2017" ms.prod: "sql-server-2016" ms.reviewer: "" ms.suite: "" ms.technology: - "analysis-services" - "docset-sql-devref" ms.tgt_pltfrm: "" ms.topic: "reference" apiname: - "KeyErrorLimitAction Element" apilocation: - "http://schemas.microsoft.com/analysisservices/2003/engine" apitype: "Schema" applies_to: - "SQL Server 2016 Preview" f1_keywords: - "KeyErrorLimitAction" helpviewer_keywords: - "KeyErrorLimitAction element" ms.assetid: a2a01aae-0571-499f-9025-b61c741f3ddb caps.latest.revision: 35 author: "Minewiskan" ms.author: "owend" manager: "erikre" --- # KeyErrorLimitAction Element (ASSL) Specifies the action [!INCLUDE[msCoName](../../../includes/msconame-md.md)] [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] [!INCLUDE[ssASnoversion](../../../includes/ssasnoversion-md.md)] takes when the key error count that is specified in the [KeyErrorLimit](../../../analysis-services/scripting/properties/keyerrorlimit-element-assl.md) element is reached. ## Syntax ```xml ... ... ... ``` ## Element Characteristics |Characteristic|Description| |--------------------|-----------------| |Data type and length|String (enumeration)| |Default value|*StopProcessing*| |Cardinality|0-1: Optional element that can occur once and only once.| ## Element Relationships |Relationship|Element| |------------------|-------------| |Parent element|[ErrorConfiguration](../../../analysis-services/scripting/objects/errorconfiguration-element-assl.md)| |Child elements|None| ## Remarks The value of this element is limited to one of the strings in the following table. |Value|Description| |-----------|-----------------| |*StopProcessing*|Stops processing the object.| |*StopLogging*|Continues processing the object, but stops logging errors that are encountered during processing.| The enumeration that corresponds to the allowed values for **KeyErrorLimitAction** in the Analysis Management Objects (AMO) object model is . ## See Also [Properties (ASSL)](../../../analysis-services/scripting/properties/properties-assl.md)