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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Runtime Error NAV2018 Vendor - Payment Receipt Report

(0) ShareShare
ReportReport
Posted on by

Dear All,

Whenever I run the 411 - Vendor - Payment Receipt report I am getting the error below. This is a newly upgraded NAV2018 CU10 version which is upgraded from NAV2015. Besides, neither report 411 nor base application has any customizations and every customization built as extensions. Unfortunately, I couldn't find much about this on the internet and hope someone can help me out here.

On a side note, there are two companies in database and the error is thrown for only one of them and even when I create a new company by copying the company that the error is thrown, I can run the report without any errors for that new company as well.

6114.error.png

Thanks,

Ararat

*This post is locked for comments

I have the same question (0)
  • Suresh Kulla Profile Picture
    50,255 Super User 2025 Season 2 on at

    It looks like a data type conversion issue, did you try to debug ?

  • Community Member Profile Picture
    on at

    Hi Suresh, thank you for your answer. No luck with debugging, unfortunately. Error is thrown before any break.

    Here are the error logs, hope it helps.

    Message (NavSerializationException): Exception: NavSerializationException

    The assembly or type cannot be deserialized, Assembly: Microsoft.Dynamics.Nav.Types, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Type; Microsoft.Dynamics.Nav.Types.NavFilterGroup

    ExceptionStackTrace:

    at Microsoft.Dynamics.Nav.Service.ServiceCall.GetClientReturnValue(Action invokeCallback)

    at Microsoft.Dynamics.Nav.Service.NSClientCallback.FormRunModal(NavForm form, NavFormRuntimeParameters parameters)

    at Microsoft.Dynamics.Nav.Runtime.NavForm.RunModal(NavRecord record, Int32 fieldNo)

    at Microsoft.Dynamics.Nav.Runtime.NavReport.InternalRunRequestPage()

    at Microsoft.Dynamics.Nav.Runtime.NavReport.RunReportInternal(NavRecord record, Boolean displayResult)

    at Microsoft.Dynamics.Nav.Runtime.NavReport.RunReport(Nullable`1 requestWindow, Nullable`1 systemPrinter, Boolean runReportModal, NavRecord record, IList`1 reportTextualFilters, RunMode mode)

    at Microsoft.Dynamics.Nav.Runtime.NavReport.RunReport(Int32 reportId, Nullable`1 requestWindow, Nullable`1 systemPrinter, Boolean isRunningAsModal, NavRecord record, IList`1 textualFilters, RunMode runMode)

    at Microsoft.Dynamics.Nav.Runtime.NavReport.Run(Int32 reportId)

    at Microsoft.Dynamics.Nav.Service.NSService.RunReport(ApplicationMethodRequest applicationMethodRequest)

    at SyncInvokeRunReport(Object , Object[] , Object[] )

    at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.RunInTransactionCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass25_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.TransientErrorRetryCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass25_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)

    InnerException:

    Exception: NavSerializationException

    The assembly or type cannot be deserialized, Assembly: Microsoft.Dynamics.Nav.Types, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Type; Microsoft.Dynamics.Nav.Types.NavFilterGroup

    ExceptionStackTrace:

    at Microsoft.Dynamics.Nav.Types.NavSerializationBinder.BindToType(String assemblyName, String typeName)

    at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Bind(String assemblyString, String typeString)

    at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)

    at System.Runtime.Serialization.Formatters.Binary.BinaryConverter.TypeFromInfo(BinaryTypeEnum binaryTypeEnum, Object typeInformation, ObjectReader objectReader, BinaryAssemblyInfo assemblyInfo, InternalPrimitiveTypeE& primitiveTypeEnum, String& typeString, Type& type, Boolean& isVariant)

    at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadArray(BinaryHeaderEnum binaryHeaderEnum)

    at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()

    at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)

    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)

    at Microsoft.Dynamics.Nav.Client.DataBinder.NavFilterHelper.ReadNavFilterGroupFromPersonalization(XmlReader xmlReader, String personalizationName)

    at Microsoft.Dynamics.Nav.Client.Forms.NavRequestPageFilterSubForm.ReadState(String version, XmlReader xmlReader)

    at Microsoft.Dynamics.Framework.UI.StateSerializer`1.ProcessControlAdapterStateElement(XmlReader reader, Dictionary`2 controls)

    at Microsoft.Dynamics.Framework.UI.StateSerializer`1.DeserializeStateInternal(XmlReader reader)

    at Microsoft.Dynamics.Framework.UI.LogicalForm.RestoreFormState()

    at Microsoft.Dynamics.Framework.UI.LogicalForm.BuildForm(Action customBuild)

    at Microsoft.Dynamics.Nav.Client.Builder.NavSessionHelper.BuildForm(LogicalForm form, Action customBuild)

    at Microsoft.Dynamics.Nav.Client.FormBuilder.RequestPageBuilder.BuildContent(List`1 controls, LogicalControl parent, UIBuilderContext context, NavRequestPage requestPage, PageType pageType)

    at Microsoft.Dynamics.Nav.Client.FormBuilder.RequestPageBuilder.BuildContent(List`1 controls, LogicalControl parent, UIBuilderContext context, NavRequestPage requestPage, PageType pageType)

    at Microsoft.Dynamics.Nav.Client.FormBuilder.RequestPageBuilder.DoBuild(MasterPage definition, BindingManager bindingManager, UIBuilderContext context)

    at Microsoft.Dynamics.Nav.Client.FormBuilder.PageBuilder.Build(MasterPage definition, BindingManager bindingManager, UIBuilderContext context)

    at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(MasterPage metadata, FormState formState)

    at Microsoft.Dynamics.Nav.Client.PageRunCallbackHandler.RunModalPage(FormRunModalRequest formRequest, LogicalForm parentForm)

    at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.<>c__DisplayClass37_0.<FormRunModal>b__0()

    at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.<>c__DisplayClass14_0.<RunClientRequest>b__0()

    at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.DoClientRequestAndCatch(Action clientRequest, Action`1 sendToServerIfNotFaulted)

    CallerStackTrace:

    at Microsoft.Dynamics.Nav.Diagnostic.NavDiagnostics.ComposeAndSendExceptionTraceTag(String tag, Category category, Exception exception, DiagnosticParameter parameter, Verbosity verbosity, Guid clientSessionId, Guid clientActivityId, Boolean forceLog)

    at Microsoft.Dynamics.Nav.Diagnostic.NavDiagnostics.SendExceptionTag(String tag, Category category, Exception exception, Verbosity verbosity, DiagnosticParameter message, Boolean forceLog)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass25_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.PushPopCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass25_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.TraceScopeCombinator(Category telemetryCategory, ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass25_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass10_0.<PerformanceCounterCombinator>b__0()

    at Microsoft.Dynamics.Nav.Runtime.NavPerformanceCounterSetter.UpdatePerformanceCountersWithAverageServiceOperationDuration(Stopwatch stopWatch, Action action)

    at Microsoft.Dynamics.Nav.Runtime.NavPerformanceCounterSetter.UpdatePerformanceCountersWithAverageServiceOperationAction(Action action, NavSession session)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.PerformanceCounterCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass25_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.InitClientTelemetryIdsCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass25_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.TlsClearCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass25_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)

    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)

    at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)

    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)

    at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

    at System.ServiceModel.Dispatcher.MessageRpc.Wrapper.Resume(Boolean& alreadyResumedNoLock)

    at System.ServiceModel.Dispatcher.ThreadBehavior.ResumeProcessing(IResumeMessageRpc resume)

    at Microsoft.Dynamics.Nav.Runtime.NavSynchronizationContext.<>c__DisplayClass1_0.<ClearThreadLocalStorageDelegate>b__0(Object state)

    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

    at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()

    at System.Threading.ThreadPoolWorkQueue.Dispatch()

  • Verified answer
    ThomasBrodkorb Profile Picture
    45 on at

    This error is related to some stored filters from a previous version of NAV.

    It seems that the settings (Filters) from the last call of the report in NAV 2015 was stored in a binary format somewhere in the system behind the scenes. Most probably in a BLOB in the database or in a file on your harddisk.

    I'm getting the same issue after upgrading from NAV2013R2.

    The problem is that NAV cannot deserialize the object anymore and raises this error.

    You have no chance debugging this, it is something that happens in the NAV core code, not in C/AL.

    So this is something which has to be solved by Microsoft in Code, and we need some info about where the data is stored, that should be read here.

  • Nitin Verma Profile Picture
    21,746 Moderator on at

    Its something related to CU updates you did while upgrading. please connect with Microsoft and report a bug.

  • ThomasBrodkorb Profile Picture
    45 on at

    Well, I will not report this as a bug.

    I stopped reporting bugs to MS around 9 years ago.

    Usual answer: "This behavior is by design. It is not a bug. And by the way, that answer costs you 1000 bucks."

  • Suggested answer
    ThomasBrodkorb Profile Picture
    45 on at

    The problem is related to the 

    "PersonalizationStore.xml" file stored under "%AppData%\Roaming\Microsoft\Microsoft Dynamics NAV".

    In this file, the saved report filters are stored (together with other information about user personalization).

    Two options:

    Either delete this file, or remove all "Report"-Related nodes from the Xml.
    (make sure that the NAV client is not running when tampering with the file).

    The report-related nodes can be identified with the PersonalizationObjectId="NAV.ReportID... attrribute.

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans