English

Error: Could not export image. The requested number of columns: '30000' exceeds the applications limit: '20000'

Error Message

When exporting an ArcGIS Image Server image service that exceeds 20,000 columns and/or 10,000 rows, an error message similar to the following may be returned:

"Could not export image. The requested number of columns: '30000' exceeds the applications limit: '20000'."

Cause

The ArcGIS Image Server client configuration files (*.ISCConfig) store a number of properties that define the capabilities of the client. There is a *.ISCConfig file for each ArcGIS Image Server client, such as MicroStation, ArcGIS, or one developed for a custom application. For ArcGIS 9.2, the configuration file is stored at C:\Program Files\ArcGIS\Image Server\XADefs\ArcGIS.ISCConfig. For ArcGIS 9.3, the configuration file is stored at C:\Program Files\ArcGIS\Bin\ArcGIS.ISCConfig. There are two parameters that control the application limit for exported images: MaxNCols and MaxNRows. By default, these are set to 20,000 and 10,000 respectively.

Solution or Workaround

The default limit for the maximum number of exported columns and rows can be bypassed by modifying the values accordingly to allow the exportation of the desired number of columns and rows. To achieve this for ArcMap:

  1. Navigate to C:\Program Files\ArcGIS\Bin and open the file named 'ArcGIS.ISCConfig' using a text or XML editor.
  2. To change the maximum number of columns, find the following text in the XML file and edit the '20000' value.

    <MaxNCols MaxNCols_TYPE_="Int" MaxNCols_DESCRIPTION_="Max Num Cols" MaxNCols_REQUIRED_="" MaxNCols_VALIDATIONRULE_="" MaxNCols_LIST_="" MaxNCols_LONGDESCRIPTION_="Max Number of Cols that can be read by the application. The request will be rejected if this value is larger then the Min of this value and the value set for the Service. 0 is undefined" MaxNCols_UOM_="" MaxNCols_ID_="" MaxNCols_HELP_="">20000</MaxNCols>
  3. To change the maximum number of rows, find the following text in the XML file and edit the '10000' value.

    <MaxNRows MaxNRows_TYPE_="Int" MaxNRows_DESCRIPTION_="Max Num Rows" MaxNRows_REQUIRED_="" MaxNRows_VALIDATIONRULE_="" MaxNRows_LIST_="" MaxNRows_LONGDESCRIPTION_="Max Number of Rows that can be read by the application. The request will be rejected if this value is larger then the Min of this value and the value set for the Service. 0 is undefined" MaxNRows_UOM_="" MaxNRows_ID_="" MaxNRows_HELP_="">10000</MaxNRows>
  4. Save the file and close the text or XML editor.

Related Information