Select to view content in your preferred language

Can't publish service to ArcGIS Online

42287
65
08-02-2012 11:51 AM
AimeiChen
Frequent Contributor
Hi, there
I tried to publish map service with one feature class to ArcGIS online but failed. The error message says "packaging succeeded, but publishing failed." Failed to execute (uploadServiceDefinition). Can someone help me if you have experience on this.

Thanks,
Amy
Tags (2)
0 Kudos
65 Replies
JillHalchin
Frequent Contributor

If you can get ArcGIS Pro, do it. It is 64-bit and was born to do web. It's still a toddler in many ways, awkward for day to day data managment and digitizing, but it can publish! Fast. Consistently. You can overwrite services that were published from ArcMap in many cases. The only caveat is a bug that I just ran into: if you keep hosted services in an AGOL folder with spaces in the folder name, overwriting will fail. So be sure that your folder names don't have spaces. Seriously, even if you don't to anything else with Pro, try it for publishing.

0 Kudos
PeterMcRostie
Deactivated User

There is a fix for this - Support | XTools Pro 

0 Kudos
CurtisDeVault
Regular Contributor

Peter, 

Do you know what the fix that is? The link just takes me to their main support page and I can't find anything regarding the issue on their site.

Thanks!

0 Kudos
PeterMcRostie
Deactivated User

No fix from XTools yet as far as I am aware. I have just unistalled XTools and it works again.

Cheers.

0 Kudos
XingLee
Deactivated User

Hi all,

My team contacted XTools and this was their reply. Hope it helps (works for us):

"This is a known issue in the recent XTools Pro 16.0. The problem is caused by the Selection Manager tool which uses layer extensions and adds GUIDs for the map layers and that seems to be unsupported on the ArcGIS Online (ArcGIS for Server) side, even if you don't use this tool.

We are working on the ways to address and fix the issue in the next update. Meanwhile, if you experience this problem there is no need to uninstall XTools Pro. It is known to help if you simply select to store relative pathnames to data sources for your map document. If this does not help in your case you can try to unregister the Selection Manager component in XTools Pro. For your convenience, you can download a package with a couple of .reg files at: https://xtools.pro/media/4862/sm_regunreg.zip One can be used to unregister Selection Manager and another to register it back. This is for the default installation path and can be modified as required."

0 Kudos
Streltzer_Tracie
Occasional Contributor

Is this fixed in XTools 16.1?  Can you just deselect the extnesion when publishing?

0 Kudos
XingLee
Deactivated User

I've tried that, but it didn't work for me.

0 Kudos
KevinCorzine
Deactivated User

I have an MXD that points at a single point file with about 80 records stored in a FGDB that I had published to a folder in ArcGIS Online and subsequently overwrote without problems.  I did this once a month for 6 months without issues.  I tried to overwrite it the other day and got the packaging succeeded but publishing failed 99999 error.  The logs showed nothing, that generic code isn't helpful, if you're reading this far down you know the drill.  I was trying anything I could to get it to publish, I had moved it to the root and that didn't work.  I deleted the service and the SD, didn't work.  I renamed the service when I re-published, didn't work.  I renamed the MXD to be completely different than any service name and published with that name, didn't work.  Even had Fiddler running.  I finally got the crazy idea to run my MXD through the MXD Doctor.  After I did that, it worked, it published.  The MXD was 1.3 MB before (bloated by re-saving), and after the "treatment" it was 66 KB.  I don't know if the planets aligned perfectly or there was divine intervention, or our network magically uncluttered itself to allow outbound data, but it worked.  I am going to test this the next time I have this error with this and reply back.  I can't with any certainty say this solves this issue, but it may be worth trying.  Just my two pennies, hopefully it's helpful.  Again, I had deleted the service and SD so this was a straight publish to the root, not an overwrite of the old service in the folder.  Oh yea, I was publishing from within ArcGIS Desktop 10.3.1, Advanced License, 64bit PC, 8GB RAM, and 1GB network speed, and Symantec Endpoint AV software I can't disable.

0 Kudos
IanMooser
Occasional Contributor

I tried many of the of recommendations - Like Kevin - with no success.

MXD Doctor provided the solution for my situation.

With ArcGIS Desktop 10.2.2

0 Kudos
MichaelRawitch1
Occasional Contributor

I'm running ArcGIS Desktop 10.3.1 and am having the same issue. I was able to publish successfully earlier this week, was unable to publish several tiled feature layers last night/this morning, able to publish a feature layer this afternoon, and then unable to publish afterwards. Any quick assistance would be appreciated as this is related to an active project. 

0 Kudos