Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Error while creating Publication on sql server 2005

$
0
0

Hi All,

I accidentally deleted my distribution db on my publisher & subscriber server with following steps:-

before below steps i deleted subscription through right click on subscription in SSMS on subscriber server "SubData" and i also deleted publication by same procedure on published server "STBData".

alter database distribution set offline;
drop database distribution;

Then i realize this is very wrong, after it i re-attached distribution db on both server through SSMS then run following commands:-

exec sp_removedbreplication @dbname='distribution'

exec sp_removedbreplication @dbname="STBData" (STBData :- from which articles to be publish).

Now i am creating again Publication on "STBData" Server but it is displaying below error:-

Pls help me how i can re-create publication to publish data i will be very thankful to you.

Thanx again.

kamal


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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