The Metadataobject Page 0 was not found - At Start - After Update from NAV2018 to BusinessCentral140

Hello,

after the update from our test db from NAV2018 to BusinessCentral 140 we get a error direct at the start of the NAV client and this was it, the blue StartUp-Form with Dynamics NAV connected to BusinessCentral and then the error "The Metadataobject Page 0 was not found". You press OK and the client is closed, we don't get in to the program.

Other databases from ous don't make this problem, so it must be something in this specific database.

What can we do?

Thank you for your help!

best regards,
Robin Dobbermann

In another post I write down the Events from Windows EventViewer.

Answers

  • DobbyNator94DobbyNator94 Member Posts: 6
    Server instance: TEST
    Category: Extensions
    Message (NavMetadataNotFoundException): RootException: NavMetadataNotFoundException
    Das Metadatenobjekt Page 0 wurde nicht gefunden.
    ExceptionStackTrace:
    bei Microsoft.Dynamics.Nav.Runtime.NCLObjectXmlMetadataLoader.GetObjectMetadataRecordFromApplicationDatabase(ApplicationObjectId objectId)
    bei Microsoft.Dynamics.Nav.Runtime.NCLObjectXmlMetadataLoader.GetMetaObjectXmlMetadataFromApplicationDatabase(ApplicationObjectId objectId)
    bei Microsoft.Dynamics.Nav.Runtime.NCLObjectXmlMetadataLoader.GetMetaObjectAsXmlDocument(ApplicationObjectId objectId, NavAppGroup appGroup)
    bei Microsoft.Dynamics.Nav.Runtime.NCLObjectMetadataLoaderExtensions.RetrieveRuntimeObject[T](INCLObjectXmlMetadataLoader loader, ObjectType objectType, Int32 objectId, NavAppGroup appGroup, Func`3 exceptWrapperGenerator, Func`2 objectGenerator)
    bei Microsoft.Dynamics.Nav.Runtime.NCLObjectMetadataLoaderExtensions.GetMetaPage(INCLObjectXmlMetadataLoader loader, Int32 pageId, NavAppGroup appGroup, Int32 languageAppGroupId)
    bei Microsoft.Dynamics.Nav.Runtime.NCLMetaForm.LoadPageMetadata()
    bei Microsoft.Dynamics.Nav.Runtime.NCLMetaForm.LoadMetadata()
    bei Microsoft.Dynamics.Nav.Runtime.NCLMetaApplicationObject.Populate()
    bei Microsoft.Dynamics.Nav.Runtime.NCLMetadata.GetMetaApplicationObjectInternal(ApplicationObjectId appObjectId, Boolean requireCompiled, Boolean onlySearchCache, Int32 appGroupId)
    CallerStackTrace:
    bei Microsoft.Dynamics.Nav.Runtime.NCLMetadata.GetMetaApplicationObjectInternal(ApplicationObjectId appObjectId, Boolean requireCompiled, Boolean onlySearchCache, Int32 appGroupId)
    bei Microsoft.Dynamics.Nav.Runtime.NCLMetadata.GetMetaApplicationObject(ApplicationObjectId appObjectId, Int32 appGroupId, Boolean requireCompiled, Boolean onlySearchCache)
    bei Microsoft.Dynamics.Nav.Runtime.NCLMetadata.TryGetMetaApplicationObject(ApplicationObjectId appObjectId, NCLMetaApplicationObject& metaApplicationObject, Int32 appGroupId, Boolean requireCompiled, Boolean onlySearchCache)
    bei Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetPageDefinitionWithExtensions(Int32 id, Int32 appGroupId)
    bei Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetPageDefinition(Int32 id, Int32 appGroupId)
    bei Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetMergedMasterPage(Int32 id, DataSourceType dataSourceType, Boolean applyPersonalization, String viewName)
    bei Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetMasterPageUnsolved(Int32 id, DataSourceType dataSourceType, String personalizationId, Boolean applyPersonalization, String viewName)
    bei Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetNavigationFrame(Int32 homepageId, Boolean applyPersonalization)
    bei Microsoft.Dynamics.Nav.XmlMetadata.MetadataProvider.GetNavigationFrame(Boolean applyPersonalization, NavProfileKey profileKey)
    bei SyncInvokeGetNavigationFrame(Object , Object[] , Object[] )
    bei System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.RunInTransactionCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass27_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.TransientErrorRetryCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass27_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass27_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.PushPopCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass27_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationTracer.TraceScopeCombinator(Category telemetryCategory, ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass27_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass9_0.<PerformanceCounterCombinator>b__0()
    bei Microsoft.Dynamics.Nav.Runtime.NavPerformanceCounterSetter.UpdatePerformanceCountersWithAverageServiceOperationDuration(Stopwatch stopWatch, Action action)
    bei Microsoft.Dynamics.Nav.Runtime.NavPerformanceCounterSetter.UpdatePerformanceCountersWithAverageServiceOperationAction(Action action, NavSession session)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.PerformanceCounterCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass27_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.InitClientTelemetryIdsCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass27_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.TlsClearCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass27_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
    bei Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
    bei System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
    bei System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
    bei System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
    bei System.ServiceModel.Dispatcher.MessageRpc.Wrapper.Resume(Boolean& alreadyResumedNoLock)
    bei System.ServiceModel.Dispatcher.ThreadBehavior.ResumeProcessing(IResumeMessageRpc resume)
    bei Microsoft.Dynamics.Nav.Runtime.NavSynchronizationContext.<>c__DisplayClass1_0.<ClearThreadLocalStorageDelegate>b__0(Object state)
    bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    bei System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    bei System.Threading.ThreadPoolWorkQueue.Dispatch()
  • DobbyNator94DobbyNator94 Member Posts: 6
    Here is a screenshot from the error.
  • DobbyNator94DobbyNator94 Member Posts: 6
    We have the answer - it's a user problem. When we use another Windows-User and log in to Dynamics with Windows Auth, this problem doesn't happen. So we finding out, what problem has this specific user.
  • krikikriki Member, Moderator Posts: 9,115
    [Topic moved from 'Navision Financials' forum to 'NAV Three Tier' forum]

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.