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

Cannot Remove Local Publication

$
0
0

Hi Folks,

I have two servers which both have IIS and SQL 2014 installed. One hosts our production website, and the other is a DR copy. The server names are WEB and DR-WEB, respectively.

I tried setting up SQL replication for the CMS DB from WEB to DR-WEB such that WEB is the publisher and DR-WEB is the distributor and subscriber. For one reason or another it wasn't working properly, and I decided it would probably work better as a push subscription, so I wanted to make WEB the distributor instead.

I set about removing the configuration I had created to try again, but (of course) have run into some issues since I probably didn't do it correctly. I was able to drop the distributor DB on DR-Web and remove the subscription object there, but I can't seem to remove the publication object on WEB.

If I rclick on the publication object on WEB and choose delete, I get an error saying:

"Could not connect to server 'DR-WEB' because 'WEB' is not defined as a remote server. Verify that you have specified the correct server name. (Microsoft SQL Server, error:18482)"

This error is kind of throwing me since WEB is the local server, and shouldn't be defined as remote. If I rclick on the publication object and choose properties -> Publication Access List, I get the same error. I've Googled this to death and have come up with various SQL Transact statements, but I'm not a DBA and it's a bit scary on a production server for someone who doesn't have a solid understanding of what they're doing.

Can anyone tell me how to get rid of this publication so I can try again? Thanks muchly,

ianc




Viewing all articles
Browse latest Browse all 4054

Trending Articles



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