When trying to create image, feature, or metadata services using the ArcIMS Service Administrator (esriadmin) on Windows XP Service Pack 2 (SP2), an error message is returned and the services are not created. The following error is returned: "XML declaration may only appear at the beginning of the document"This problem can occur when:• ArcIMS 9.0, without Service Pack 2, is installed on Windows XP SP2.
• ArcIMS 9.0, with Service Pack 2, is installed on Windows XP SP2 and the servlet engine is Tomcat.
The arcims_jconnect.jar file that is used by Service Administrator is not the most current version.
The \esriadmin folder is re-created with the most current files.
Get help from ArcGIS experts
Download the Esri Support App