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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Sync-NAVTenant : The following SQL error was unexpected: Cannot find the object *** because it does not exist or you do not have permissions.

(0) ShareShare
ReportReport
Posted on by 200

When i synchronize the Business central application DB.using the commenad "Sync-NAVTenant -ServerInstance BC170 -Mode Sync" it gives me error like "Sync-NAVTenant : The following SQL error was unexpected:
Cannot find the object "********" because it does not exist or you do not have permissions." I also trie with Force. But still it returns the error. It is a upgrade process.The problem is i cannot find the object in sqlDB

Can anyone help me? Thanks IN ADVANCE.!

  • Mohammed Marhoon Profile Picture
    12 on at

    Hi 

    Your database sql server on the same server of business central or separate?

    if separate then be sure the login windows server in the business central server provisioned in sql server to have permission access the databases in sql server

    Provisioning the Business Central Server Service Account

    Please Verify the answer if your question has been answered. This helps other forum users.

  • anandb313@gmail.com Profile Picture
    200 on at

    Hi Marhoon, Thanks for replying. Yes now i have changed to user account. i am receiving a error of

    "Sync-NAVTenant : The following SQL error was unexpected:

    Column names in each table must be unique. Column name '$systemCreatedBy' in table 'Object Metadata Snapshot' is specified more than once." But as i checked there is only one name in column '$systemCreatedby' in that table

    Thanks,

    Anand

  • Mohammed Marhoon Profile Picture
    12 on at

    Hi

    You are setup a new instance? or this existing and you convert it to multi tenant? or its a single setup?

    I notice you state you are sync application db!

    If you are on multi tenant setup and after you mount the company database then you need to perform "Sync-NAVTenant' on the company database not the application database

    example

    $NewBcServerInstance = "BC170"

    $TenantId = "Cronus"

    Sync-NAVTenant -ServerInstance $NewBcServerInstance -Tenant $TenantId -Mode Sync

    Please Verify the answer if your question has been answered. This helps other forum users.

  • anandb313@gmail.com Profile Picture
    200 on at

    Hi,

    New instance but not multi instance..It is a single instance setup.

  • Mohammed Marhoon Profile Picture
    12 on at

    Hi

    It is in one server the sql server and business server instance or two different servers?

  • anandb313@gmail.com Profile Picture
    200 on at

    Hi,

    It is one Sql server and business central server instance not two different servers.

  • Mohammed Marhoon Profile Picture
    12 on at

    Hi

    Did you try to re-setup the Cronus demo database? by remove it and reinstall it

    pastedimage1624623670151v1.png

  • anandb313@gmail.com Profile Picture
    200 on at

    Hi,

    No i have used Customized(client) DB from BC14 and from migrating to BC17 i am getting the error

  • Mohammed Marhoon Profile Picture
    12 on at

    Hi

    Its better you elaborate more, so I can help you on the same.

    So you are migrating to which version?

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    Maybe it is best to raise a support request via your Dynamics 365 partner.

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 739 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 462 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 406 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans