I'm setting up my first Distributor
database on SQL Server 2012
. I successfully created one and then wanted to blow it away and perform the task again just for practice.
This was a brand new Distributor
and nothing had been done with it yet.
In my naivete I ran the the following commands before disabling the publishing and distribution:
alter database distribution set offline;
drop database distribution;
Now when I try to disable it, I get the following error:
SQL Server could not disable publishing and distribution on '<server>'.
------------------------------
Database 'distribution' does not exist. Make sure that the name is entered correctly.
Changed database context to 'master'. (Microsoft SQL Server, Error: 911)
Is there a way I can fix this?