NAV 2013 server Application event logs

Hi, on our NAV 2013 (not R2) server in the application event log we are gettings loads of warning messages.

is someone able to let me know if they are something I need to worry about. As far as I can tell they aren’t link to anyone user.

Server instance: HAWCO-LIVE

Session type: RoleTailoredClient

Session ID: 87

User: HAWCOLTD\APC

Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavNCLAutomationCreateException

SuppressMessage: False

FatalityScope: None

Message: This message is for C/AL programmers: Unable to create an instance of Automation Server {CE6435A2-5B5A-4932-A169-3D08805249A2} with CLSID = ce6435a2-5b5a-4932-a169-3d08805249a2 Retrieving the COM class factory for component with CLSID {CE6435A2-5B5A-4932-A169-3D08805249A2} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))…

StackTrace:

at Microsoft.Dynamics.Nav.Service.NSClientCallback.CreateAutomationObject(Guid classId, String licenseKey, Boolean newServer)

at Microsoft.Dynamics.Nav.Runtime.NavAutomation.Create(DataError errorLevel, Boolean newServer, Boolean clientSide)

Source: Microsoft.Dynamics.Nav.Service

HResult: -2146233088


Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavNCLAutomationCreateException

SuppressMessage: False

FatalityScope: None

Message: This message is for C/AL programmers: Unable to create an instance of Automation Server {CE6435A2-5B5A-4932-A169-3D08805249A2} with CLSID = ce6435a2-5b5a-4932-a169-3d08805249a2 Retrieving the COM class factory for component with CLSID {CE6435A2-5B5A-4932-A169-3D08805249A2} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))…

StackTrace:

at Microsoft.Dynamics.Nav.Client.AutomationHandler.CreateAutomationObject(Guid classId, String licenseKey, Boolean newServer)

at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.<>c__DisplayClass33.b__32()

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

at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.<>c__DisplayClass2.b__0()

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

Source: Microsoft.Dynamics.Nav.Client.WinForms

HResult: -2146233088


Type: System.Runtime.InteropServices.COMException

ErrorCode: -2147221164

Message: Retrieving the COM class factory for component with CLSID {CE6435A2-5B5A-4932-A169-3D08805249A2} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

StackTrace:

at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)

at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

at System.Activator.CreateInstance(Type type, Boolean nonPublic)

at System.Activator.CreateInstance(Type type)

at Microsoft.Dynamics.Nav.Types.NavAutomationHelper.CreateAutomationObject(Guid classId, String licenseKey, Boolean newServer)

at Microsoft.Dynamics.Nav.Client.AutomationHandler.CreateAutomationObject(Guid classId, String licenseKey, Boolean newServer)

Source: mscorlib

HResult: -2147221164

Many thanks

It would appear that you have NAV code that is attempting to use COM objects. These COM objects are not installed and/or registered on your server, Thus these error messages. You can Google the class ids to possibly identify the specific COM objects.

I suspect these are custom objects. You should consider redesigning them to use .NET Interop.