Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Suggested answer

Error while opening Bank Account List in Dynamics NAV 2016.

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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,645 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans