I've got a multi-machine 10.1 site that's been chugging along for a while. It's got 20+ map/feature services working.
I've pulled one machine from that site and created a new, separate single machine site to do some testing of stuff. Everything is like the first site (above) except my directories are at ....\arcgisserver_test_site and not the default ....\arcgisserver. Same shared network drive, same everything.
When I fire up Arcmap and attempt to publish a map service to the new site, I get to the "Service Editor", successfully "analyze", click "publish" and get a "packaging succeeded, but publishing failed" error. It also says, "Failed to execute. Parameters are not valid. Please consult the GP results Window..."
The GP results message says,
"Start Time: Thu Apr 04 09:02:11 2013
Failed to execute. Parameters are not valid.
ERROR 000735: Server: Value is required
Failed to execute (UploadServiceDefinition).
Failed at Thu Apr 04 09:02:11 2013 (Elapsed Time: 0.00 seconds)"
The help documentation on that error is not very helpful, simply reiterating that a parameter value required by the tool was missing.
Does anyone have insight into what is going on here?
I had the same issue that appeared after I upgraded my ArcMap from 10.5.1 to 10.7.1. The GP results revealed that the server parameter was NOT automatically assigned when I shared the map as a service (overwrite existing). From the same mxd document opened on another computer with the same desktop version (10.7.1) it worked. By deleting and recreating the ags-connection (admin), I got it to work again.