web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

SQL-Error 15138 by Adding a NAV-User

(0) ShareShare
ReportReport
Posted on by 55

The following error occures by adding a Window-user in Dynamics NAV.

15138, "42000" The database principal owns a schema object in the database and can not be deleted.

SQL:
{CALL [sp_revokedbaccess](?)}

Last weekend we executed all server-updates!

Thank you

Frank

*This post is locked for comments

I have the same question (0)
  • Rashed Profile Picture
    3,765 on at
    Re: SQL-Error 15138 by Adding a NAV-User

    find out which schema object the user that is being deleted owns.

    It could be the owner of the db and you have to change the owner to sa.

  • Mohammad Atif Profile Picture
    on at
    Re: SQL-Error 15138 by Adding a NAV-User

    Can you please look into this : :blog.sqlauthority.com/.../sql-server-fix-error-15138-the-database-principal-owns-a-schema-in-the-database-and-cannot-be-dropped

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Alexander Ermakov Profile Picture

Alexander Ermakov 2

#2
SC666 Profile Picture

SC666 1

#2
SC666 Profile Picture

SC666 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans