Solved

SQL 2000 - Unable to drop remote Server

Posted on 2006-07-12
7
1,923 Views
Last Modified: 2008-03-26
I am trying to drop a remote server which was previously used for replication. When I try and delete it I receive the following error:

Error 20583 Cannot drop server 'server' because it is used as a subscriber in replication

I have check in EM under replication and there are no items displayed. Is there anywhere else this needs to be removed from.
0
Comment
Question by:Netstore
7 Comments
 
LVL 3

Expert Comment

by:chhapia_chintak
ID: 17089413
Try following:

sp_serveroption 'servername', 'sub', 'off'

sp_dropserver 'servername, 'droplogins'

where 'servername' is the SQL Server you want to drop. This will remove the
entry in the sysservers table for this SQL Server and it will no longer be
a subscriber.

Hope this helps
0
 
LVL 5

Author Comment

by:Netstore
ID: 17090942
Tried that and on the sp_dropserver command I get the following

Cannot drop server 'RemoteServer' because it is used as a Subscriber to remote Publisher 'LocalServer' in replication.

Where LocalServer is the server I am running the command on to remove the remoteserver
0
 
LVL 5

Author Comment

by:Netstore
ID: 17091209
The above error is 20584 so differs slightly from the first error....
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 5

Author Comment

by:Netstore
ID: 17091461
I've worked it out, I needed to Disable the replication to fully un-install it. For fututr reference :

Ent Manager -> Replication Folder -> Right Click -> Disable Publishing and Distribution and then select yes to disable the functionality and go through the wizard. I have now deleted my remote server....get in !!!

Please close call
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 17631693
PAQed with points refunded (350)

CetusMOD
Community Support Moderator
0
 

Expert Comment

by:dcoerver
ID: 21053690
This solution worked for me!
Thanks!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now