Your selection cannot be displayed in the current view

Last Published: April 25, 2020

Error Message

An ArcGIS Server MapServer object created in ArcCatalog returns the following error when previewed:
"Your selection cannot be displayed in the current view."

However, the MapServer object can be viewed using Java or .NET ADF.

This error can also be caused due to incorrectly defined output location. Please try the solution given in the following article before proceeding to the solution given below:
<a href='' target='_blank'>Error: Your selection cannot be displayed in the current view</a>


This problem occurs when ArcGIS Server is unable to parse the server and server object configuration files located in the ArcGIS Server installation directory \cfg folder.

ArcGIS Server uses the Microsoft XML Parser 4, MSXML4.dll, to parse the configuration files. This problem will offcur if a different version of MSXML is registered or the MSXML4.dll is not registered correctly.

Solution or Workaround

To resolve this problem, register the system file msxml4.dll.

The instructions below include making changes to essential parts of your operating system. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult with a qualified computer systems professional, if necessary.

ESRI cannot guarantee results from incorrect modifications while following these instructions. Therefore, use caution and proceed at your own risk.

  1. To register the file msxml4.dll:
    A. Verify that msxml4.dll exists at the following location:
    On Windows 2000 : C:\WINNT\system32
    On Windows XP/2003 : C:\WINDOWS\system32
    B. Go to Start > Run or open the command prompt console
    C. To register it on Windows 2000 type

    regsvr32 C:\WINNT\system32\msxml4.dll

    To register it on Windows XP/2003 type

    regsvr32 C:\WINDOWS\system32\msxml4.dll

    Then hit enter and OK on the confirming message.
  2. If Step 1 does not resolve the problem, install the MSXML 4.0 Service Pack 2 on your system from this link:

Article ID:000008006

  • ArcGIS Server

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic