Hello,
I'm trying to drop a distributor database that was accidentally installed on one of our SQL servers. I have already deleted the publishers and subscribers that had been using this distributor database but when I try to run sp_dropdistributiondb I get the following error:
Could not drop the distribution database 'distribution'. This distributor database is associated with a Publisher.
There is nothing in the MSpublications table of the database and nothing in the MSpublication_databases table, so I don't understand why I'm getting this error.
Any suggestions on how to resolve this so I can effectively remove the distributor from this server?