KNOWN ISSUE: ''System.IndexOutOfRangeException: Cannot find column 0', when testing an import rule with a csv data source using the data pre-processing function

Article:TECH39766  |  Created: 2008-04-08  |  Updated: 2009-04-01  |  Article URL
NOTE: If you are experiencing this particular known issue, we recommend that you Subscribe to receive email notification each time this article is updated. Subscribers will be the first to learn about any releases, status changes, workarounds or decisions made.
Article Type
Technical Solution


When running an import rule with a csv data source using the data pre-processing function, the following error may be thrown:

Module: AltirisNativeHelper.dll
Source: Altiris.NS.Connector.DataSourceBaseItem.ApplyDataPreProcessingFunction
Description: Failed to execute data pre-processing function. The pre-processing code threw an exception 'System.IndexOutOfRangeException: Cannot find column 0.
   at System.Data.DataColumnCollection.get_Item(Int32 index)
   at DataSourcePreProcessing.ProcessData(DataTable importData)


Connector Solution 6.5


This issue is caused by using a data source that does not have column headers, and then adding the headers in dynamically using the data pre-processing function.


As a workaround, place the column headers in the data source, rather than using the data pre-processing function.

This issue has been adressed in KB 41359

Supplemental Materials

ValueSYD 33934
DescriptionLogged in sydd2 (Altiris - Sydney) database

Legacy ID


Article URL

Terms of use for this information are found in Legal Notices