Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Web Client Business Central 2020

Posted on by 190

Hello,

I have installed Business Central 2020 Wave 1 and after starting the web client I get the following error message:

"The following SQL error was unexpected: Invalid object name 'master.dbo.$ndo$srvproperty'"

How to resolve this problem?

  • RE: Web Client Business Central 2020

    Hello All,

    It would be difficult here if the customer/Partner who has already have a good working environment where they have instances running already and face this new challenge when they restored a DB and try connecting the same with NAV service. In this case install from DB would be really hectic to get carried out.

    1. If the table is absent try creating the master table using the query as in below.

    USE [master]

    GO

    CREATE TABLE [dbo].[$ndo$srvproperty](

    [license] [image] NULL

    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

    GO

    2. If the error still occurs, Try running the PowerShell command "Import-NAVServerLicense" to import the license.

    3. If still, the error (System table [master].[dbo].[$ndo$srvproperty] is missing or database Demo Database NAV (16-0) is not a Business Central application database.) occurs, it means the table is present and the service or the system flow still checks for a license to be there in the System table [master].[dbo].[$ndo$srvproperty]

    then run the below SQL script.

    "INSERT INTO [master].[dbo].[$ndo$srvproperty]

    ([license])

    VALUES

    ((SELECT * FROM OPENROWSET(BULK N'<License File path>', SINGLE_BLOB) as license))".

    The above SQL script will inject your NAV license explicitly in your System table [master].[dbo].[$ndo$srvproperty].

    The service should run thereby.

  • Galina Georgieva Profile Picture
    Galina Georgieva 190 on at
    RE: Web Client Business Central 2020

    Thank you. It all worked and now I can connect to the database.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Web Client Business Central 2020

    No, you can choose the instance to install the BD.

  • Galina Georgieva Profile Picture
    Galina Georgieva 190 on at
    RE: Web Client Business Central 2020

    Hello,

    But if I choose this option - will this create an instance of SQL Server 2016 Express?

    (My server is SQL Server Enterprise SP1.)

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Web Client Business Central 2020

    This is the problem, i had the same issue.

    Try to delete de BD from SQL, and reinstall the DVD. You need to select the option that create the DB and import license automatically.

    pastedimage1588253425207v1.png

  • Galina Georgieva Profile Picture
    Galina Georgieva 190 on at
    RE: Web Client Business Central 2020

    Hi,

    I have restored the database from SQLDemoDatabase folder from the installation DVD.

  • Galina Georgieva Profile Picture
    Galina Georgieva 190 on at
    RE: Web Client Business Central 2020

    Hello,

    I get the same error:

    Import-NAVServerLicense : System table [master].[dbo].[$ndo$srvproperty] is missing or database Demo Database NAV (16-0) is not a Business Central application database.

  • Suggested answer
    RE: Web Client Business Central 2020

    Hi Galina,

    Did you import the flf file license first ?

    Try importing license and restart the service.

    -----------------------------------------

    Best Regards,

    Salah Eddine BENOUALA

    Dynamics NAV & 365 Business Central Consultant

    Please verify my answer, if you find it helpful.

    Doing so you'll show others that there was found a solution and you credit my help.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Web Client Business Central 2020

    You haver restored de DB from SQL, or create from DVD whit the instalation wizard?

    Try to reinstall, and mark the chek that creat de Cronus DB.

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Web Client Business Central 2020

    Hello,

    What happens if you try to import the license file via PowerShell into the database?

    Thanks.

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans