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

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

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© Sorean's Virtual Home 2026. Theme: Architrave

Leave a comment
Expand sidebar⌘BCollapse sidebar⌘B
Focus modeExit focus mode