NAS NAV Exception

RikarddoRikarddo Member Posts: 77
edited 2021-04-28 in NAV Three Tier
Hello all,

I'm getting this error ogxsb2f9uffi.png .

Server instance: BC140_WebServices
Tenant: default
The Microsoft Dynamics 365 Business Central Application Server session for tenant 'default' has failed and will be restarted in 30 seconds. Reason: Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavNCLNotSupportedTypeException
SuppressMessage: False
ContainsPersonalOrRestrictedInformation: False
DiagnosticsSuppress: False
MessageWithoutPrivateInformation: The type Microsoft.Dynamics.Nav.Types.DataError is unknown.
SuppressExceptionCreatedEvent: False
FatalityScope: None
Message: The type Microsoft.Dynamics.Nav.Types.DataError is unknown.
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavNclTypeHelper.GetNclTypeFromType(Type type, Boolean forDotNet)
at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.ConvertClrTypesToMethodParameterTypes(Object parent, Object[] args, Boolean[] argsFromJson, Int32 argsCount, ParameterInfo[] parameters)
at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.FindMethod(Object obj, String methodName, Object[] args, ParameterInfo[]& parameters)
at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.InvokeMethod(ITreeObject obj, String methodName, Object[] args, Boolean resolveHandler, Boolean throwOnNotFound)
at Microsoft.Dynamics.Nav.Runtime.NavCodeunit.InvokeRun(Int32 objectId, Object[] args)
at Microsoft.Dynamics.Nav.Runtime.SessionTransactionManager.TransactionScope(Action code)
at Microsoft.Dynamics.Nav.Runtime.NavApplicationServer.<RunOnceAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.Nav.Runtime.NavApplicationServer.<StartAsync>d__7.MoveNext()
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2146233088
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavNclTypeHelper.GetNclTypeFromType(Type type, Boolean forDotNet)
at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.ConvertClrTypesToMethodParameterTypes(Object parent, Object[] args, Boolean[] argsFromJson, Int32 argsCount, ParameterInfo[] parameters)
at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.FindMethod(Object obj, String methodName, Object[] args, ParameterInfo[]& parameters)
at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.InvokeMethod(ITreeObject obj, String methodName, Object[] args, Boolean resolveHandler, Boolean throwOnNotFound)
at Microsoft.Dynamics.Nav.Runtime.NavCodeunit.InvokeRun(Int32 objectId, Object[] args)
at Microsoft.Dynamics.Nav.Runtime.SessionTransactionManager.TransactionScope(Action code)
at Microsoft.Dynamics.Nav.Runtime.NavApplicationServer.<RunOnceAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.Nav.Runtime.NavApplicationServer.<StartAsync>d__7.MoveNext()


This happens when i restart NAV service in order to get jobqueue or NAS running but it seems it gets always freezes. Can't understand why and spent quite few hours looking for any bad configuration and online solutions but it without success.
fgo5mp4ziy4j.jpg


This is having really because, i can't use webservices in other applications we have and or communicating with some sites for synchronization in this case odata. Soap works just fine.
42vqmsz7xs6r.png

Even after we migrated from Dynamics NAV 2016 to BC140 this worked...
Has someone had this problem?

Any help would be appreciated..


thanks in advance


Sign In or Register to comment.