Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Permission issue with database

Posted on by Microsoft Employee

I have an issue regarding this.

I tried to open the database through Nav Development, but after I typed in the credentials it gave me this:

CREATE TABLE permission denied in database 'master'

SQL:

CREATE TABLE [dbo].[$ndo$srvproperty] (license IMAGE NULL)

The service can't start therefor I cannot import a licens as usual through Powershell ISE.

- Thanks

*This post is locked for comments

  • Suggested answer
    Ashwini Tripathi Profile Picture
    Ashwini Tripathi 4,624 on at
    RE: Permission issue with database

    Assign SysAdmin & dbOwner rights in SQL to the user accessing developer environment & Service Account. Try after restarting the service.

  • Suggested answer
    Rabin Profile Picture
    Rabin 2,976 on at
    RE: Permission issue with database

    Hi Martin,

    You need a sysadmin rights: to work through...

    msdn.microsoft.com/.../ms189121.aspx

    The Table [dbo].[$ndo$srvproperty] in the master db is mandatory for NAV DB.

    You can also create this table manually by the sysadmin of the hosting provider.

    After the table is created you need to stored the licence in this table. If the table does not contain one record with a licence you will get an new error message stating that the licence is missing, even a separate licence is stored in the NAV DB.

    You should also provide the Windows user with the "sysadmin" right in the database.

    If necessary, try restarting the service after that. and Try again.

  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 17,965 Super User 2024 Season 2 on at
    RE: Permission issue with database

    Hi,

    Make sure that the windows login of the user who is trying to access database using developer environment and the account which is used to run navision services should have at least - Dbowner permission in the sql database.

  • Suggested answer
    keoma Profile Picture
    keoma 32,675 on at
    RE: Permission issue with database

    [i've split the posting from original thread "Migration - Service Instance not running" because it's a new topic.]

    give your windows user and the nav service account sysadmin rights in the database, then try again.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans