Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

NAS NAV Exception

(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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,759 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,468 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans