[Solved] ArcGIS Error: Packaging succeeded, but publishing failed

An error is reported in one of the published layers. There is an alarm next to this error. Layer’s data source is not register
so it’s OK to register the database, but it seems that there are other situations, which will be encountered in the record in the future

Packaging succeeded,but publishing failed
Failed to execute.Parameters are not valid
Please consult the GP Results Window for enhanced error
description or contact your administrator for the server logs.

Read More: