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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Dynamics Nav 2018 Error 216

(0) ShareShare
ReportReport
Posted on by 37

Hi all,

I have a problem with NAV 2018 installation that gives error 216 at random periods.

Can someone point me in the direction I should be looking?

The stacktrace is:

Message: <ii>Object reference not set to an instance of an object.</ii>
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.IsPermissionCheckNeeded(Boolean readingOnly)
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.VerifyPermissions(PermissionMask permissionMask, Boolean checkForEmptyTable)
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.IssueFindRequest(DataError errorLevel, Boolean reversed, FindType findType, Boolean useCache)
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.FindFirstRecord(DataError errorLevel)
at Microsoft.Dynamics.Nav.Runtime.NavRecord.ALFindFirst(DataError errorLevel)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit50002.GetDestinationForProduct_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit50002.GetDestinationForProduct(NavText inputUID, NavText inputTray, NavText barcode)
at Microsoft.Dynamics.Nav.BusinessApplication.Page50010.Integrationa58a58BarcodeReceived_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Page50010.Integrationa58a58BarcodeReceived(NavVariant sender, NavDotNet e)
at Microsoft.Dynamics.Nav.BusinessApplication.Integration_Eventhandler_Page50010.BarcodeReceived(Object senderParam, Object eParam)
at Microsoft.Dynamics.Nav.Runtime.NavInteropEventHandlerBase.HandleEvent[TArg1,TArg2](Action`2 innerHandler, TArg1 arg1, TArg2 arg2)
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2147467261
</ii>

*This post is locked for comments

I have the same question (0)
  • I Gusti Made Ari Profile Picture
    3,600 on at

    have you tried repair the installation and restarted ?

  • DSS servicedesk Profile Picture
    37 on at

    Yes, I've reinstalled CU14 for Nav2018 and that had no effect.

  • DSS servicedesk Profile Picture
    37 on at

    Yes I did and also installed Cu14.

  • Muratvzr Profile Picture
    743 on at

    Codeunit50002

    Page50010

    is seems to be customer object. And these objects can are using External dll. I think I has BarcodeReceived procedure and error is throwing from there.

    Look deeper on these codeunits and pages.

  • Suggested answer
    azelaya59 Profile Picture
    2,807 on at

    To further Murat's advise, run a compare via PowerShell on the custom objects. Make the necessary code changes and continue as normal.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans