Solved

delete replication???

Posted on 2006-07-03
6
497 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

688 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