ERROR

System.PublishingTools.GPServer: java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset

Last Published: October 1, 2025

Fehlermeldung

In ArcGIS Server, publishing a service returns the following error message:

Error:   
System.PublishingTools.GPServer: java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset

Ursache

The ArcGIS Server account does not have the appropriate permissions to access the required folders. This commonly occurs in environments that apply group policies through an Active Directory, which can automatically revoke account privileges based on the policy configured.

Lösung oder Problemumgehung

Warning:
It is recommended that users backup their data before proceeding. If necessary, consult with the organization's IT administrator before making the following changes.

Add the ArcGIS Server account under the Administrator group in Windows

  1. In the Windows search bar, search for and click Computer Management.
  2. In the Computer Management window, under System Tools, expand Local Users and Groups and click Groups.
  3. Right-click Administrators and select Add to Group....
  4. In the <Group name> Properties window, click Add....
  5. In the Select Users, Computers, Service Accounts, or Groups window, under Enter the object names to select (examples):, type the username of the user and click Check Names to verify the user.
  6. Click OK.

Ensure that appropriate permissions are granted to the ArcGIS Server account

For more information on the required permissions, refer to the following web help page: ArcGIS for Server: What permissions do I need to grant to the ArcGIS Server account?

Repair the ArcGIS Server installation and reapply the ArcGIS Server service account’s permissions

  1. Click Windows Start > Control Panel.
  2. From the Control Panel window, click Programs and Features.
  3. In the Uninstall or change a program window, click ArcGIS for Server and select the Uninstall/Change button.
Control panel options when repairing installation.
  1. In the ArcGIS Server Setup window, select the Repair option and follow the instructions in the wizard.
  2. Once the ArcGIS Server repair is completed, run the Configure ArcGIS Server Account wizard to reapply the ArcGIS Server service account’s permissions. The following ArcGIS Server document describes how to do this in detail: Changing the ArcGIS Server account.
Note:
Another method to repair the ArcGIS Server installation is to re-run the ArcGIS Server installation file.

Artikel-ID: 000014195

Benachrichtigungen erhalten und Lösungen für neue oder häufige Probleme finden

Unser neuer KI-Chatbot stellt zusammengefasste Antworten und Videolösungen für Sie bereit.

Esri Support App herunterladen

Zugehörige Informationen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln