ERROR 001369: Failed to create the service. Failed to execute (PublishServiceDefinition). Failed to execute (Publish Portal Service). Failed.

1510
2
Jump to solution
04-29-2021 09:01 AM
KellyPilarski
New Contributor III

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. 

0 Kudos
1 Solution

Accepted Solutions
KellyPilarski
New Contributor III

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. 

View solution in original post

2 Replies
Terry_Iffland
New Contributor II

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.

0 Kudos
KellyPilarski
New Contributor III

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.