Select to view content in your preferred language

ERROR 999999: Error executing function from calling StageService_server (ArcGIS Desktop 10.3)

501
1
Jump to solution
01-20-2020 04:52 AM
ChristopherVirtucio
Occasional Contributor

Hi,

I'm calling arcpy.StageService_server() in a script, but I keep getting this error. It appears to be related to my calls to arcpy.mapping.CreateMapSDDraft(). I'm able to create the sddraft with that function, but I can't open it in ArcMap. I'm able to create an sddraft from my map document in ArcMap, so it's definitely not the map document itself.

All of my arguments to arcpy.mapping.CreateMapSDDraft() look fine, as far as I can tell:

            analysis = arcpy.mapping.CreateMapSDDraft(
                map_document=map_document_file_path,
                out_sddraft=sddraft_file_path,
                service_name=formatted_service_name,
                server_type=sddraft_config.server_type,
                folder_name=sddraft_config.folder_name,
            )

so I'm not sure what the issue is.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
ChristopherVirtucio
Occasional Contributor

Re-creating the file geodatabase fixed it. It's likely permissions issues when our VM was re-imaged.

View solution in original post

0 Kudos
1 Reply
ChristopherVirtucio
Occasional Contributor

Re-creating the file geodatabase fixed it. It's likely permissions issues when our VM was re-imaged.

0 Kudos