ERROR

The specified module could not be found.

Last Published: April 25, 2020

Error Message

When attempting to connect to a server from the Add GIS Server dialog in the ArcCatalog table of contents or from the ArcMap Add Data function, the following error appears:

"The specified module could not be found."

Note:
This issue can also occur when opening a .lyr file that references a map service, such as a .lyr or layer package downloaded from ArcGIS.com. In this case, the map image does not display, there is a red exclamation point (!) next to the layer in the ArcMap table of contents, and no error message is displayed.

Cause

ArcMap is unable to find a component necessary to connect to a GIS server.

Solution or Workaround

This issue may be resolved by re-registering c:\windows\system32\msxml4.dll.

  1. Open a Windows command prompt.

    • On Windows XP or Windows Server 2003:
    a. Click Start > Run.
    b. In the Run dialog, type "CMD" and press ENTER.
    c. A Windows command prompt launches.

    • On Windows Vista, Windows 7, or Windows Server 2008:
    a. Click Start > Run.
    b. If the Run button is unavailable from the Start menu, type "RUN" in the Windows Search bar. The Run dialog should appear.
    c. In the Run dialog, type "CMD" and press ENTER.
    d. A Windows command prompt launches.

  2. In the command prompt window, type the following command:

    Code:
    REGSVR32 "c:\Windows\System32\msxml4.dll"

    If successful, Windows returns the message:

    "DllRegisterServer in msxml4.dll succeeded."

  3. Add the GIS server or open the layer package again. The resource is now accessible.

Article ID:000010958

Software:
  • ArcMap

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic