Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Error while opening Bank Account List in Dynamics NAV 2016.

(0) ShareShare
ReportReport
Posted on by 90

Hi all,

Below error is getting when opening Bank Account List in Dynamics NAV 2016.

Error:

Microsoft Dynamics NAV
---------------------------

Hint 'noexpand' on object 'Test.dbo.24 Mantra$Bank Account Ledger Entry$VSIFT$1' is invalid.
Statement(s) could not be prepared.

Page Edit - Bank Account must close.
---------------------------
OK
---------------------------

Thanks in advance,
Srinivas.

  • Suggested answer
    Gearoid Profile Picture
    Gearoid on at
    RE: Error while opening Bank Account List in Dynamics NAV 2016.

    Hi Srinivas,

    The error message suggests that the NOEXPAND hint has been added to the 'Test.dbo.24 Mantra$Bank Account Ledger Entry$VSIFT$1' Indexed View in SQL Server and this does not work with the Dynamics NAV functionality. Maybe this was added to the indexed view outside of Dynamics NAV, i.e. directly in SQL Server via SQL Server Management studio.

    You could try disabling the "MaintainSIFTIndex" property on the relevant KEY in the NAV Development Environment; save the change and then re-enable it again (this should effectively drop/recreate the indexed view without the NOEXPAND hint).

    Alternatively, you could try dropping and re-creating this indexed view directly in SQL Server (via SQL Server Management Studio) and removing the NOEXPAND hint that way. Make sure you have a good SQL backup if you choose this option... just in case.

    If the problem persists after than then open a support ticket with Microsoft via your Solution Provider or Dynamics NAV Partner.

    Hope that 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

News and Announcements

Announcing Category Subscriptions!

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans