web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Tablet Client doesn't work NAV 2016

(1) ShareShare
ReportReport
Posted on by

Hello,

we recently setup a web client and the universal app after upgrading the database from NAV 2013 to NAV 2016. Everything works fine except the tablet client, which runs into the following error in the event viewer when you try to connect with the app or try to resolve the tablet.aspx url:

error accessing website microsoft dynamics nav 2016 web client
URL: https://XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Type: System.InvalidCastException
Message: The object of type "Microsoft.Dynamics.Framework.UI.GroupControl" cannot be converted to object of type "Microsoft.Dynamics.Framework.UI.ActionControl".
StackTrace:
bei Microsoft.Dynamics.Nav.WebClient.Decorators.CueGroupActionDecorator.DoBuild(LogicalForm form, MasterPage pageDefinition, UIBuilderContext context)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.PageBuilder.ExecuteDecorators(LogicalForm form, MasterPage definition, UIBuilderContext context)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.PageBuilder.Build(MasterPage definition, BindingManager bindingManager, UIBuilderContext context)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(MasterPage metadata, FormState formState)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(Int32 formId, FormState formState, Int32 retryCounter)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.NavigationTreeProvider.ProcessContent(IEnumerable`1 actionBaseDefinitionList, NavigationNode parentNode, UIBuilderContext context)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.NavigationTreeProvider.ProcessNavigationGroups(LogicalControl parent, IEnumerable`1 actionBaseDefinitionList, NavigationNode parentNode, UIBuilderContext context)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.NavigationTreeProvider.ProvideNavigationPane(MasterNavigation definition, UIBuilderContext context)
bei Microsoft.Dynamics.Nav.Client.Web.NavWebBuilderSessionInitializer.NavigationServiceTreeOnLoad(Object sender, Object e)
bei Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.get_NavigationRoot()
bei Microsoft.Dynamics.Nav.Client.NavRunHomepagePropertyBagInvokedAction.Validate(FormPropertyBag queryParameters, UISession uiSession, Object invocationState)
bei Microsoft.Dynamics.Framework.UI.LogicalFormActivator.GeneratePropertyBagCommand(FormPropertyBag propertyBagToUse, UISession uiSession, Object invocationState)
bei Microsoft.Dynamics.Framework.UI.LogicalFormActivator.ValidateAndInvokePropertyBag(FormPropertyBag propertyBagToUse, UISession uiSession, Object invocationState)
bei Microsoft.Dynamics.Framework.UI.Web.WebPropertyBagInvoker.InvokeFormPropertyBag(FormPropertyBag propertyBag)
bei Microsoft.Dynamics.Framework.UI.Web.LogicalFormInitializer.<>c__DisplayClass1.<Create>b__0()
bei Microsoft.Dynamics.Framework.UI.LogicalOperationInvoker.InvokeAndHandleExceptions(Func`1 action, IExceptionHandler exceptionHandler)
Source: Microsoft.Dynamics.Nav.Client.WebClient

Has anybody dealt with this issue before and can help me?

*This post is locked for comments

I have the same question (0)
  • Vojislav Nikolic Profile Picture
    112 on at

    Hi, did you manage to resolve this issue? I Have the same with NAV2017 CU12 version. Version of Win SRV 2019. On the other side, client with Win SRV 2016 version is ok and fully functional.

  • Lars Lohndorf-Larsen Profile Picture
    on at

    Hi,

    I am guessing but the callstack seems to point towards cue group actions:

    pastedimage1592288809223v1.png

    I would start by removing those, and if no luck then build a  new and very simple role center, and then add items to it until you find out what is causing the problem. Trial-error is not elegant but sometimes it works.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans