Select to view content in your preferred language

Error Publishing a Map Service for ArcMap to ArcGIS Online

16607
42
06-20-2012 02:45 PM
AdamInglis
Deactivated User
I have been through the process several time and I keep getting a very generic error message when I try to publish a service that I uploaded from ArcMap.

The first warning I get is when publish from ArcMap, cache generation failed:
[ATTACH=CONFIG]15384[/ATTACH]

The service uploads without an issue, but when I view it online and try to publish it there I get this message, "There was an error":
[ATTACH=CONFIG]15385[/ATTACH]

Tough message to troubleshoot, any suggestions?

Thanks,

Adam
0 Kudos
42 Replies
MikeMinami
Esri Notable Contributor
Turn on Chrome developer tools during the Publish step. Click the wrench, click Tools>Developer tools. THis will display a panel. Click the Network tab and you can watch requests go through. Look for any errors. Sometimes you see a red x in the lower right corner you can click on.
0 Kudos
by Anonymous User
Not applicable
Original User: adaminglis

Ok, I tried uploading the SD in IE9 and Chrome with the same result "There was an error".

There are 2 errors and 76 warnings in Chrome.  The errors were there before I started the upload process.

TypeError
arguments: Array[2]
get message: function () { [native code] }
get stack: function () { [native code] }
set message: function () { [native code] }
set stack: function () { [native code] }
type: "non_object_property_load"
__proto__: Error
arguments: undefined
constructor: function TypeError() { [native code] }
arguments: null
caller: null
length: 1
name: "TypeError"
prototype: Error
__proto__: function Empty() {}
name: "TypeError"
stack: undefined
type: undefined
__proto__: SetUpError.d
constructor: function Error() { [native code] }
message: ""
name: "Error"
toString: function toString() { [native code] }
__proto__: Object
 dojo.js:15
dojo.Deferred.reject.errback dojo.js:15
0 Kudos
MikeMinami
Esri Notable Contributor
So you can't even upload the SD file to My Content?
I'm kind of stumped here... Maybe a call to Esri tech support is warranted.
I suppose you can invite me to join your organization as a publisher and I can try from the inside.

Mike
0 Kudos
by Anonymous User
Not applicable
Original User: lcbpgis

I also tried the process you described for downloading/uploading an SD file. I was able to upload it and see it in My Contents, but still no option to manage tiles. I tried the Publish button on the details page, too.

I did not track errors.
0 Kudos
MikeMinami
Esri Notable Contributor
Ryan,

Were you able to successfully publish? If it worked, you will see a map service of the same name.

Mike
0 Kudos
by Anonymous User
Not applicable
Original User: lcbpgis

No, I still only had the SD, no map service in My Contents, after uploading the local SD file. And there was no Manage Tiles option. I tried the Publish button, but received an error.
0 Kudos
MikeMinami
Esri Notable Contributor
Ryan,

Can you share the URL to your SD file? You will need to share it publicly first. If you can't do that, perhaps I can join a group of yours...

Mike
0 Kudos
by Anonymous User
Not applicable
Original User: lcbpgis

Mike,

Here's the link to my SD:

https://lcbp.maps.arcgis.com/home/item.html?id=159a35d405e7450a9455baba99e8aebc

Please let me know if you need anything else.

Thanks,
Ryan
0 Kudos
MikeMinami
Esri Notable Contributor
- What is the role of the person trying to publish? Are they an administrator or a publisher?
- Have you signed out of ArcGIS.com (and signed back in) since creating/joining the organization?
- Is there a service running in the organization with the same name already?
Unfortunately, ArcGIS.com returns a generic error message "An error has occurred" when there there is already a service running with the same name. Service names must be unique. The service name is specified when the SD is created and is not based on the name of the file on disk or in My Content.

Thanks,

Mike
0 Kudos
by Anonymous User
Not applicable
Original User: lcbpgis

I've been trying to publish the service as an Administrator, as the one who created the trial subscription account.

I just created a new user with publisher role and tried publishing the service using that account, with the same results (that is, no map service in my contents or option to manage tiles).

I've logged in and out many times, have been giving services unique names.
0 Kudos