Solved

Trying to Disable/Delete Publishing and Distribution

Posted on 2010-11-08
3
1,127 Views
Last Modified: 2012-05-10
I tried creating a Peer to Peer Replication on SQL Server 2008. I am trying to Delete or disable ir but I get the following error:
I tried the solution provided here but it didnt work for me.
http://awesomesql.wordpress.com/2010/02/08/sql-error-cannot-execute-as-the-database-principal-because-the-principal-sec_user-does-not-exist-this-type-of-principal-cannot-be-impersonated-or-you-do-not-have-permission/


I checked permissions on the user and have given complete control to the user.



Disabling Distribution...

- Disabling publishing and distribution (Error)
Messages
SQL Server could not disable publishing and distribution on 'prtrwebserver'. (Microsoft.SqlServer.ConnectionInfo)

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission.
Changed database context to 'master'. (Microsoft SQL Server, Error: 15517)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.00.1600&EvtSrc=MSSQLServer&EvtID=15517&LinkId=20476



 
Replication.png
0
Comment
Question by:isaackhazi
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
subhashpunia earned 500 total points
ID: 34083200
Check the sp_dropdistributor @no_checks = 1

Before executing please check the details of this sp here:
http://technet.microsoft.com/en-us/library/ms173516.aspx
0
 
LVL 8

Author Comment

by:isaackhazi
ID: 34083316
Thanks,


 where do I find and check this?
0
 
LVL 8

Author Closing Comment

by:isaackhazi
ID: 34118122
Good
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

911 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

21 Experts available now in Live!

Get 1:1 Help Now