Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SQL 2000 - Unable to drop remote Server

Posted on 2006-07-12
7
Medium Priority
?
1,969 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

718 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