Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Distribution (system database) data files are deleted manually in SQL Server

$
0
0

We have deleted distribution (system database) data files manually.

Now I'm unable to do below process(How can I delete logical instance of distribution).

Disable publishing and distribution wizard

An Exception occurred while executing a transact-SQL
Database 'distribution' does not exist. Make sure that the name is entered correctly.
Changed database context to 'master'.

I have tried with below procedures but the problem was not rectified

EXEC sp_removedbreplication @publicationDB
EXEC sp_dropdistpublisher @publisher
EXEC sp_dropdistributiondb @distributionDB
EXEC sp_dropdistributor

Looking forward to receive suggestions.


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>