Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Tablet Client doesn't work NAV 2016

Posted on by Microsoft Employee

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

  • RE: Tablet Client doesn't work NAV 2016

    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.

  • Vojislav Nikolic Profile Picture
    Vojislav Nikolic 110 on at
    RE: Tablet Client doesn't work NAV 2016

    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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans