Solved

Drop Replication traces in SQL 2000

Posted on 2007-04-03
2
377 Views
Last Modified: 2008-02-01
I am using SQL Server 2000.  I had a problem where a stored procedure is messed up and I want to overwrite it.  Howerver the database is replication all through the network.  I have not removed everything for replication that I can find and I am still unable to delete that stored procedure.  The message I get is unable to drop the procedure "procedure" it is being used for replication.

 I have removed all traces of replication that I can find but it still says under Replication Subscriptions that it has a subscripton.  When I try to delete the subscription it tells me the publication or the subscription do not exist.  How do I get this replication stuff out of there so I can rebuild my stored procedures?  This is very frustrating.  i will award multiple question points for this if I have to.  Please Help!!!!!
0
Comment
Question by:mfehrmann
2 Comments
 
LVL 16

Accepted Solution

by:
rboyd56 earned 500 total points
ID: 18847991
More than likely the replinfo column in sysobjects has a non 0 value.

run select * from sysobjects and look at the replinfo column. If there are any objects with a non 0 value run this command:

update sysobjects set replinfo = 0 where replinfo > 0

You many have to enable adhoc queries to system tables using this:

sp_configure 'allow updates', 1
go
reconfigure with override
0
 
LVL 10

Expert Comment

by:TAB8
ID: 18849251
Also try,
In EM
under tools\replication configure  diable publishing on the server .....

OR

http://support.microsoft.com/?id=326352
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
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.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

705 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

15 Experts available now in Live!

Get 1:1 Help Now