English

Error: The XML page cannot be displayed

Error Message

When trying to launch ArcGIS Server Manager for the Microsoft .Net Framework the application displays the following error message:

"The XML page cannot be displayed

Cannot view XML input using style sheet. Please correct the error and then click the Refresh button,
or try again later.

Invalid at the top level of the document. Error processing resource
'http://localhost/ArcGIS/Manager/default.aspx'. Line 1...

This is a marker file generated by the precompilation tool, and should not be deleted!
^"

Cause

This is due to ASP.Net not being properly registered with Internet Information Services (IIS).
Reasons for this might be:
- the .Net Framework was installed before IIS.
- IIS was reinstalled.

Solution or Workaround

Re-register ASP.Net with IIS

  1. FIND THE ASP.Net VERSION INSTALLED:

    A. In Windows Explorer, browse to C:\WINDOWS\Microsoft.NET\Framework
    There is a folder with a 2.0 version, such as v2.0.50727.

    B. Note the full version number shown.
  2. REGISTER ASP.Net 2.0 with IIS:

    A. In Windows, on the Start menu, go to Start > Run

    B. At the command prompt, type:
    %WINDIR%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i


    C. Replace v2.0.50727 with the version number of the .Net Framework as noted in step 1B.

    D. Press ENTER to register that version of the Microsoft .Net Framework with IIS.

    E. Launch ArcGIS Server Manager for the Microsoft .Net Framework.