Hi,
please check if there is a wrong DISTRIBUTOR connected:
sp_get_distributor
I had the same error a few days before, i don't know how, but my "Distributor" was something else, but not an sql-server.
If there is the wrong distributor in your result, i can give you the query to drop and create the right distributor
Regards,
Andreas