Skip to main content
Microsoft Dynamics NAV forum
Answered

NAS NAV Exception

editSubscribe (0) ShareShare
ReportReport
Posted on by 265

Hello all,

I'm getting this error 7356.Erro.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.
Erro2.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.
Erro3.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

  • Verified answer
    Rikarddo Profile Picture
    Rikarddo 265 on at
    RE: NAS NAV Exception

    Tried that, all job queues to OnHold restart the NTS and the error keeps going. The only way that the error does not occur is to remove the setting in NAS cofiguration.

    Guess i will have to ask for Microsoft direct assistance.

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: NAS NAV Exception

    Hello,

    Could it be that one of the jobs is configured to run a report while a default printer is absent. An easy test may be to set all job queues to OnHold and then restart NST service and see if the events is still there. Then start some of the job queues before restarting the NST service and see if the messages show up.

    Alternatively you can raise a support request to Microsoft for direct assistance.

    Thanks.

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,066 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,585 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans