The Metadataobject Page 0 was not found - At Start - After U

12. September 2019 10:18

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!

Ich hatte das schon in Englisch für mibuso geschrieben, hoffe das ist kein Problem. Danke!

best regards,
Robin Dobbermann

Server instance: TEST
Category: Extensions
ClientSessionId: 58fac7b0-7438-408e-8e4b-e2de510af6ca
ClientActivityId: 0f877322-36bc-4495-b35f-2e71fd725585
ServerSessionUniqueId: 95212a9d-e952-484b-ba25-d3822960435e
ServerActivityId: 600f8993-53a8-4821-b4f7-0b09b603132c
EventTime: 09/12/2019 07:58:54
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()


ProcessId: 6428
Tag: 00007YR
ThreadId: 74
CounterInformation:
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.

Re: The Metadataobject Page 0 was not found - At Start - Aft

12. September 2019 10:30

We had this error message with NAV 2017 at the beginning regularly after an object update.
We were able to solve this problem by simply recompiling ALL imported objects after each object update.

For MenuSuites it is not sufficient to compile only the changed MenuSuites.
If only one MenuSuite has been updated, ALL MenuSuite objects must always be compiled.

We haven't had this error message since we did this.

Re: The Metadataobject Page 0 was not found - At Start - Aft

12. September 2019 14:08

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.

Re: The Metadataobject Page 0 was not found - At Start - Aft

13. September 2019 09:07

In this case, you can try to delete all entries for this user id from table 2000000075 "User Metadata".

1. Affected user has to close the client
2. Delete the entries
3. Restart the client