003308: This service definition file (.sd) was staged to overwrite an existing service if found on the server. To publish a new service, stage a .sd with a unique name or provide a new name in override service properties.

Description

Uploading the service definition file may overwrite an existing service because the service definition file was created in one of the following ways:

Note:

Before overwriting an existing service, see Considerations when overwriting web layers.

Solution

Do one of the following:

  • Ignore the warning if there is no existing service.
  • Publish a new service by doing one of the following:
    • On the Upload Service Definition tool dialog box, under Override Service Properties, provide a new name for Service Name. This overrides the current service name in the service definition.
    • Change the service name in the service definition draft file (.sddraft) and use the Stage Service tool to stage a new service definition.

See Introduction to arcpy.sharing and the Upload Service Definition tool help for more information.