English

Error: Your selection cannot be displayed in the current view

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.

Warning:
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='http://support.esri.com/en/knowledgebase/techarticles/detail/29506' target='_blank'>Error: Your selection cannot be displayed in the current view</a>

Cause

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.

Warning:
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

    Code:
    regsvr32 C:\WINNT\system32\msxml4.dll

    To register it on Windows XP/2003 type

    Code:
    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:

    http://www.microsoft.com/downloads/details.aspx?FamilyID=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&DisplayLang=en

Related Information