| title | Configure an Error Output in a Data Flow Component | Microsoft Docs | |||
|---|---|---|---|---|
| ms.custom | ||||
| ms.date | 06/13/2017 | |||
| ms.prod | sql-server-2014 | |||
| ms.reviewer | ||||
| ms.technology | integration-services | |||
| ms.topic | conceptual | |||
| helpviewer_keywords |
|
|||
| ms.assetid | 53d7eeea-927d-4b45-8ea9-084e65ad5390 | |||
| author | janinezhang | |||
| ms.author | janinez | |||
| manager | craigg |
Many data flow components support error outputs, and depending on the component, [!INCLUDEssIS] Designer provides different ways to configure an error output. In addition to configuring an error output, you can also configure the columns of an error output. This includes configuring the ErrorCode and ErrorColumn columns that are added by the component.
To configure an error output, you have two options:
-
Use the Configure Error Output dialog box. You can use this dialog box to configure an error output on any data flow component that supports an error output.
-
Use the editor dialog box for the component. Some components let you configure error outputs directly from their editor dialog box. However, you cannot configure error outputs from the editor dialog box for the ADO NET source, the Import Column transformation, the OLE DB Command transformation, or the [!INCLUDEssNoVersion] Compact destination.
The following procedures describe how to use these dialog boxes to configure error outputs.
-
In [!INCLUDEssBIDevStudioFull], open the [!INCLUDEssISnoversion] project that contains the package you want.
-
In Solution Explorer, double-click the package to open it.
-
In [!INCLUDEssIS] Designer, click the Data Flow tab.
-
Drag the error output, represented by the red arrow, from the component that is the source of the errors to another component in the data flow.
-
In the Configure Error Output dialog box, select an action in the Error and Truncation columns for each column in the component input.
-
To save the updated package, on the File menu, click Save Selected Items.
-
In [!INCLUDEssBIDevStudioFull], open the [!INCLUDEssISnoversion] project that contains the package you want.
-
In Solution Explorer, double-click the package to open it.
-
In [!INCLUDEssIS] Designer, click the Data Flow tab.
-
Double-click the data flow components in which you want to configure an error output and, depending on the component, do one of the following steps:
-
Click Configure Error Output.
-
Click Error Output.
-
-
Set the Error option for each column.
-
Set the Truncation option for each column.
-
Click OK.
-
To save the updated package, on the File menu, click Save Selected Items.
To configure the error output columns, you have to use the Input and Output Properties tab of the Advanced Editor dialog box.
-
In [!INCLUDEssBIDevStudioFull], open the [!INCLUDEssISnoversion] project that contains the package you want.
-
In Solution Explorer, double-click the package to open it.
-
In [!INCLUDEssIS] Designer, click the Data Flow tab.
-
Right-click the component whose error output columns you want to configure and click Show Advanced Editor.
-
Click the Input and Output Properties tab and expand <component name> Error Output and then expand Output Columns.
-
Click a column and update its properties.
[!NOTE]
The list of columns includes the columns in the component input, the ErrorCode and ErrorColumn columns added by previous error outputs, and the ErrorCode and ErrorColumn columns added by this component. -
Click OK.
-
To save the updated package, on the File menu, click Save Selected Items.