BC14 Service Tier Event Log errors

rkaufmannrkaufmann Member Posts: 68
Hi,

we are running BC14 and in the eventlogs of our servers I see a lot errors like this one.

Protokollname: Application
Quelle:        MicrosoftDynamicsNavServer$BC14-TEST-EK1
Datum:         08.12.2023 11:34:49
Ereignis-ID:   708
Aufgabenkategorie:(33)
Ebene:         Fehler
Schlüsselwörter:Klassisch
Benutzer:      Nicht zutreffend
Computer:      VSRV-BCST01.SCHAEFER-PETERS.LOCAL
Beschreibung:
Server instance: BC14-TEST-EK1
Category: Extensions
ClientSessionId: 00000000-0000-0000-0000-000000000000
ClientActivityId: 7954bfcf-f66b-437a-aa32-d39fa07f80fb
ServerSessionUniqueId: 00000000-0000-0000-0000-000000000000
ServerActivityId: a2230183-197a-4f43-a04f-8a7786ba379b
EventTime: 12/08/2023 10:34:49
Message (NavNCLMetadataObjectNotFoundException): RootException: NavNCLMetadataObjectNotFoundException
The Object of Type Codeunit with ID 1 was not found.
ExceptionStackTrace:
   bei Microsoft.Dynamics.Nav.Runtime.AssemblyGetter.GetBaseMetadataRecord(Int32 objectId, ObjectType objectType, ReadOnlyRecordBuffer& record, Int64& objectTimestamp)
   bei Microsoft.Dynamics.Nav.Runtime.AssemblyGetter.GetBaseObjectSource(ObjectType objectType, Int32 objectId)
   bei Microsoft.Dynamics.Nav.Runtime.AssemblyGetter.GetAssemblyForBaseObject(ObjectType objectType, Int32 objectId)
   bei Microsoft.Dynamics.Nav.Runtime.NCLCodeLoader.GetApplicationObjectClrType(ObjectType objectType, Int32 objectId, Func`1 assemblyGetterFunc, String className)
   bei Microsoft.Dynamics.Nav.Runtime.NCLCodeLoader.GetBaseObjectClrType(ObjectType objectType, Int32 objectId)
   bei Microsoft.Dynamics.Nav.Runtime.NCLMetaApplicationObject.CompileAndLoadClrObject()
   bei Microsoft.Dynamics.Nav.Runtime.NCLMetadata.GetMetaApplicationObjectInternal(ApplicationObjectId appObjectId, Boolean requireCompiled, Boolean onlySearchCache, Int32 appGroupId, Boolean initializing)
CallerStackTrace:
   bei Microsoft.Dynamics.Nav.Runtime.NCLMetadata.GetMetaApplicationObjectInternal(ApplicationObjectId appObjectId, Boolean requireCompiled, Boolean onlySearchCache, Int32 appGroupId, Boolean initializing)
   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.EventSubscription.NavEventSubscription..ctor(INavEventSubscriber subscriber, NavEventSubscriberMethodInfo subscriberMethodInfo, NavAppGroup subscriberNavAppGroup, NavEventSubscriptionModifiers subscriptionModifiers, Int32 memberId)
   bei Microsoft.Dynamics.Nav.EventSubscription.NavEventSubscriptionFactory.CreateEventSubscriptionsFromSubscriber(INavEventSubscriber subscriber, NavAppGroup appGroup, NavEventSubscriptionModifiers subscriptionModifiers)
   bei Microsoft.Dynamics.Nav.EventSubscription.NavEventSubscriptionFactory.CreateEventSubscriptionsFromCodeunitIds(List`1 codeunitIds, NavAppGroup appGroup, NavEventSubscriptionModifiers subscriptionModifiers)
   bei Microsoft.Dynamics.Nav.EventSubscription.NavEventSubscriptionFactory.FindAndCreateSubscriptionInstances(NavAppGroup appGroup, NavEventSubscriptionModifiers subscriptionModifiers)
   bei Microsoft.Dynamics.Nav.EventSubscription.NavEventSubscriptionMetadata.RebindAllEvents()
   bei Microsoft.Dynamics.Nav.EventSubscription.NavEventSubscriptionMetadata.RebindEventSubscriptionsIfNeeded(Func`1 staleFunc)
   bei Microsoft.Dynamics.Nav.Runtime.NCLMetadata.Database_ObjectMetadataChanged(Object sender, NavTrackingEventArgs eventArgs)
   bei System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   bei Microsoft.Dynamics.Nav.Runtime.NavDatabase.RaiseTypeSpecificTrackingEvent(EventHandler`1 eventHandler, List`1 trackingObjects, ObjectTrackingChangeType changeType)
   bei Microsoft.Dynamics.Nav.Runtime.NavDatabase.HandleTrackingEvent(List`1 trackingObjects)
   bei Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.HandleTrackingEvent()
   bei Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.TimerHandleTrackingEvent()
   bei Microsoft.Dynamics.Nav.Runtime.NavDatabaseChangeListener.TimerHandler(Object param)
   bei Microsoft.Dynamics.Nav.Runtime.NonReEntrantTimerWrapper.TimerDelegateWrapper(Object state)
   bei System.Threading.TimerQueueTimer.CallCallback()
   bei System.Threading.TimerQueueTimer.Fire()
   bei System.Threading.TimerQueue.FireNextTimers()


ProcessId: 3508
Tag: 00007YR
ThreadId: 400

Does anyone know what is going wrong here?
Codeunit 1 is not existing in BC14, but it looks like the Service Tier is trying to run "old" functionality, like the NAS Startup or Company Open functions from CU1 on older version. (Line 29)

The Task Scheduler or NAS Part of the serivce tier is not activated.

Regards Rolf

Answers

  • vaprogvaprog Member Posts: 1,113
    I don't really know. Are your objects fully upgraded to BC 14?

    Also check the "NAS Services" section of the NST configuration. Turn it off, unless you definitely know you need it. Job Queue does not need it anymore. Job Queue instead needs the Task Scheduler to be active.
Sign In or Register to comment.