Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

SQL Error while running RTC

(0) ShareShare
ReportReport
Posted on by

Hi All,

        I am getting following SQL Error while running NAV application.

SyncError.png

I checked SQL Table, Fields are present in SQL table but not present in Development Environment.

Please help how to resolve this issue.

Thanks and Regards,

Shivashankar

*This post is locked for comments

  • Suggested answer
    Saurav.Dhyani Profile Picture
    14,316 Super User 2025 Season 1 on at
    RE: SQL Error while running RTC

    Hi,

    The Views are created based on keys in table in Navision.

    Try importing a fresh copy of table in the database and if the data is not there then run with force but if data is there then run with validate.

  • Community Member Profile Picture
    on at
    RE: SQL Error while running RTC

    Hi ,

    Thanks.!

    I checked Indexes and Statistics.

    I came to know that it is because of SIFT Index View created in SQL.

    I checked View, In View "Remaining Credit (KK Cess)" Exists. I Tried to rebuild Indexes but It didn't worked.

    Views.png

  • Suggested answer
    Saurav.Dhyani Profile Picture
    14,316 Super User 2025 Season 1 on at
    RE: SQL Error while running RTC

    Hi,

    It seems the index or statics related to deleted field still exist in SQL.

    Open SQL Server management studio and you can see these index / Statistics as shown below -

    SQL-Image.jpg

    Hope this helps.

  • Community Member Profile Picture
    on at
    RE: SQL Error while running RTC

    Thank you for your response.

    I ran Sync-Tenant cmdlet but still I am getting same error.

    NavSync_5F00_CmdLet_5F00_Error.png

  • Suggested answer
    Tharanga Chandrasekara Profile Picture
    23,116 on at
    RE: SQL Error while running RTC

    Run Sync-NAVTenant cmdlet and it will fix the issue you have reported.

    msdn.microsoft.com/.../dn757126(v=nav.90).aspx

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,094 on at
    RE: SQL Error while running RTC

    Table dependences are missing for table Service Tax Entry Details. I suppose you have been trying to modify the table structure, and need either to re-compile this table or ensure that the field Remaining Credit (KK Cess) is available there. Also, try to re-index the database using SQL rebuild indexes tool.

  • Suggested answer
    Saurav.Dhyani Profile Picture
    14,316 Super User 2025 Season 1 on at
    RE: SQL Error while running RTC

    Run the Sync-Tenant cmdlet to update the sync schema with SQL.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: SQL Error while running RTC

    Compile Service Tax Entry Table. It seems that the table schema is not sync. with SQL and hence showing this error.

    Are you trying to modify any columns from SQL?

  • Suggested answer
    Nareshwar Raju Vaneshwar Profile Picture
    5,596 on at
    RE: SQL Error while running RTC

    Hi,

    Seems like the field "Remaining Credit(KK Cess)" has been deleted but many tables still have the dependency.

    Restore the field, and select the affected object(s) and compile it.

    Then remove the field and all its dependencies, and then recompile it.

    Hope it helps.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics NAV (Archived)

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2

#1
mmv Profile Picture

mmv 2

#1
Amol Salvi Profile Picture

Amol Salvi 2

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans