[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

delete replication???

Posted on 2006-07-03
6
Medium Priority
?
513 Views
Last Modified: 2012-05-05
Hi,
I'm trying to delete replication, distribution database, but sql prompt me error cannot drop the database distribution because is being in use for replication, but I has disabled all replication,,,,,
0
Comment
Question by:motioneye
[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
6 Comments
 
LVL 3

Expert Comment

by:chhapia_chintak
ID: 17029672
Execute following commands after changing your database name.


exec sp_removedbreplication 'db_name'
go
exec sp_dboption 'db_name','published',false
go
exec sp_dboption 'db_name','merge publish',false
go

Hope this helps.
0
 

Author Comment

by:motioneye
ID: 17029722
Hi,
I manage to delete the distribution db after refresh the db, but now it giving error while I'm trying with creating a distrbution db it giving me error as invalid path, this is actually 2nd instance of sql server \\LLL0039\SQL_TEST

\\LLL0039\SQL_TEST\f$\MSSQL$SQL_TEST\ReplData
0
 
LVL 4

Expert Comment

by:csachdeva
ID: 17030323
Hello,

Check Sysobjects of the database which is going fro replication then query for values having replinfo >0 and update those tables by zero and then check it.

second way is to re enable replication process and then try to disable it.

Hope that will sort out your query.

regards,
Chetan Sachdeva
0
 

Author Comment

by:motioneye
ID: 17040623
Hi,
I manage to solve the problme,
there is actually the F drive was not assigned as F$ and never been shared last time, it's now Ok after I let the drive to be share and assign with F$
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 17076115
Closed, 500 points refunded.
Netminder
Site Admin
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Lotus Notes has been used since a very long time as an e-mail client and is very popular because of it's unmatched security. In this article we are going to learn about  RRV Bucket corruption and understand various methods to Fix "RRV Bucket Corrupt…
In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

650 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