While attempting to share a web layer to our Arc Portal site from arc Pro 2.7 we keep running into the following error.
StatusMessage: ERROR 001369: Failed to create the service. Failed to execute (PublishServiceDefinition). Failed to execute (Publish Portal Service). Failed.
StatusMessage: Publishing web layer failed (AGO)
StatusMessage: Server Response: {"error":{"code":500,"message":"Service Hosted/LMPNOE/FeatureServer not found ","details":[]}}
StatusMessage: Server Response: ERROR: code:400, Item does not exist in this folder., Bad syntax in request.
ErrorMessage: Failed to publish web layer
I have attempted to publish it from a layer in our enterprise geodatabase and from a separate file geodatabase. We get the same error. A feature layer gets created within our portal site that we can not use or delete. When attempting to go to settings to check the ability to delete it just continues to say loading.
Any help would be greatly appreciated.
Solved! Go to Solution.
I found a support article that indicated those permissions . https://support.esri.com/en/technical-article/000016577
The Phython27 folder did not have permissions for the ArcGIS Server account . I added that that, and was able to publish successfully.
Check permissions on ArcGIS Server where the SD file is written. There may be some folders there which you may need to allow access to that are used as part of the feature service publishing process.
I found a support article that indicated those permissions . https://support.esri.com/en/technical-article/000016577
The Phython27 folder did not have permissions for the ArcGIS Server account . I added that that, and was able to publish successfully.
I am having this same issue, how did you add permissions to the Python27 folder, below is the link to my post your help would be appreciated. thanks