Select to view content in your preferred language

ERROR 002901: Sharing related error during geo-processing (Unable to publish to standalone servers prior to version 10.6 - Please upgrade to a newe

1155
4
Jump to solution
07-27-2022 07:41 AM
BartGis5
New Contributor II

During the publishing of a mapservice from arcgis Pro 2.7 (By using the arcpy) to ArcGIS Server 10.8.1 the following error was returned:

ERROR 002901: Sharing related error during geo-processing (Unable to publish to standalone servers prior to version 10.6 - Please upgrade to a newer version: (Current server version 10,00))
Failed to execute (StageService). 

It is on a machine which is part of an OTAP development street. On all the other environments it works fine only on the P-environment the error is returned.

I have checked:

- The correctness of the .ags file (password and user account are saved into the file) (I wasn't allowed to sign in to the installation account otherwise I would have saved it to the Windows Cridential manager).

- The .aprx file that I want to share is valid

- The database the .aprx file uses is added to the server and valid

Environment:

- Windows server

- ArcGIS Server 10.8.1

- ArcGIS Pro 2.7

0 Kudos
1 Solution

Accepted Solutions
BartGis5
New Contributor II

After a long time of comparing the ArcGis Servers, the user accounts and the Servers  on the A and P environment. The solution was found in the language settings of the server the publishing took place. Apperently the machine where you publish from and the machine the ArcGis Server is running on both need to have the same language settings. After setting the language settings of the server (where the publishing from took place) to: English (united states) -> the same language as the ArcGisServer runs on,  the publishing worked fine.

So: check your launguage settings on both of the servers. And make them the same.

View solution in original post

0 Kudos
4 Replies
BartGis5
New Contributor II

After a long time of comparing the ArcGis Servers, the user accounts and the Servers  on the A and P environment. The solution was found in the language settings of the server the publishing took place. Apperently the machine where you publish from and the machine the ArcGis Server is running on both need to have the same language settings. After setting the language settings of the server (where the publishing from took place) to: English (united states) -> the same language as the ArcGisServer runs on,  the publishing worked fine.

So: check your launguage settings on both of the servers. And make them the same.

0 Kudos
RonnieRichards
Regular Contributor

Hello @BartGis5 

We are now running into this issue publishing locators so thanks for this tip. Can you elaborate on the language settings to check/change? Are these the language settings in the Control Panel -> Region or is this somewhere else?

Thanks!

0 Kudos
BartGis5
New Contributor II

Hi, @RonnieRichards 

It is just the general language settings in windows under (the server and publish machine should have the same language): 

  1. Select Start  > Settings  > Time & Language > Language.

0 Kudos
RonnieRichards
Regular Contributor

We started to get similar errors when publishing locators to our federated enterprise environment in the October 2022 timeframe. ERROR 002901: Sharing related error during geo-processing (Unable to check if service exists. (PointAddress)) Failed to execute (UploadServiceDefinition).

Turns out this is a problem related to changes to the ArcGIS Server (.ags) connection file. ESRI published a knowledge base article on 3/15/2023 related to this error but it is not very specific.
https://support.esri.com/en-us/knowledge-base/error-error-002901-sharing-related-error-during-geopro...

In our locator publications, we used the sign in to portal approach with the url in the UploadServiceDefinition method as shown in the latest help documentation. Once we moved away from using the .AGS connection files in our SD Draft and Uploads steps this resolved the problem for us.
https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/creategeocodesddraft.htm

0 Kudos