Sorean's Virtual Home

Source: MSSQL$MICROSOFT##WID Event ID: 28005

by on Aug.07, 2019, under Database Related

Source: MSSQL$MICROSOFT##WID
Event ID: 28005

An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. 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.

Download SQL Management Studio, run as admin, connect to \\.\pipe\microsoft##wid\tsql\query

Run: sp_helpdb
Windows Internal Database shows unknown owner for AdfsArtifcatStore and AdfsConfiguration.

Change the DB owner to a service account or a local account depending on your usage. In my case it was a service account ‘domain\serviceaccount’.


Leave a Reply

Spam Protection by WP-SpamFree

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...