Solved

delete replication???

Posted on 2006-07-03
6
452 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
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
spx for moving values to new table 5 70
Tools to Output documents from DB based on selections 8 111
How to know which tables getting lock escalation 4 45
null value 15 94
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
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…

920 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

14 Experts available now in Live!

Get 1:1 Help Now