Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SQL 2000 - Unable to drop remote Server

Posted on 2006-07-12
7
Medium Priority
?
1,977 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
6 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

783 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