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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Moving Navision DB to Azure

(0) ShareShare
ReportReport
Posted on by 5

Hi ,

We want to deploy navision 2017 database to azure  sql as a service , so I managed to extract the Schema and data and moved them to Azure .

My problem now is User access is denied . 

Even I tried to connect with the Database owner I always have the same problem which is access denied and couldn't  find source of help .

3465.png2816.png76536.png8611.png1512.png

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Is there a valid user in SQL Server? Do you have a user inside the User table in NAV (SUPER permission set)?

  • Navision Profile Picture
    5 on at

    I have a sql user ,and those are the users I have inside nthe User table in Navision , but how to give them super permission  or how to create one using sql with super permission  ?

    Yes , I have a valid Sql User .Those are the users that I have in User table inside Navision,how to set SUPER permission ?

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    You can use New-NavServerUser cmdlet with Powershell to create a new user:

    docs.microsoft.com/.../new-navserveruser

    To assign permissions:

    docs.microsoft.com/.../new-navserveruserpermissionset

  • Navision Profile Picture
    5 on at

    I have created a new user  :

    New-NAVServerUserPermissionSet -PermissionSetId SUPER -ServerInstance DynamicsNAV100   -WindowsAccount "chris1"

    New-NAVServerUserPermissionSet -PermissionSetId SUPER -ServerInstance DynamicsNAV100   -UserName "chris1"

    3034.user.png

    In my DB credential here , I used the owner of the Server admin and it's password 

    db.png

    But  : 

    client.png

    Did I miss something here ?

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Is this error thrown by the RTC client?

    By default the database where the RTC tries to connect is stored in a config file called ClientUserSettings.Config.

    The path for the ClientUserSettings.Config file is:

    C:\Users\<username>\AppData\Local\Microsoft\Microsoft Dynamics NAV

    Check the below 3 keys and point them to the right db:

    <add key="Server" value="localhost" />

    <add key="ServerInstance" value="DynamicsNAV" />

    <add key="ServerPort" value="7076" />

    If this doesn't work, you can remove all user's personalization by executing the following sql queries:

    USE [Database Name]

    GO

    delete from [dbo].[User]

    delete from [dbo].[Access Control]

    delete from [dbo].[User Property]

    delete from [dbo].[Page Data Personalization]

    delete from [dbo].[User Default Style Sheet]

    delete from [dbo].[User Metadata]

    delete from [dbo].[User Personalization]

    then access the database 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

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,092

#2
YUN ZHU Profile Picture

YUN ZHU 663 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 515

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans