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 :
Small and medium business | Business Central, N...
Answered

BC Web crashes with design function

(0) ShareShare
ReportReport
Posted on by 17

Hi all,

We migrated a multitenant NAV2018 on prem to BC spring 2019. (v14, CU7, om prem). When we use the ‘Design’ function in the web client, we have an issue with custom pages (for standard BC pages it works fine). When we start the designer and try to add a field, the web client crashes. In the application logs on the server I found errors like this:


Message (NavDesignerCompilerException): RootException: NavDesignerCompilerException
Could not find target of extension objects during compilation. Make sure that system symbols are published.
The name 'Address 2' does not exist in the current context
The target Page "MyPageName" for the extension object is not found

Message The execution of the code block at HandleAddPageFieldAction had one or more unhandled exceptions., Additional info: NSDesigner


I uninstalled all ‘old’ extensions (except the ones containing version 14.x), and recompiled all objects with the ‘GenerateSymbolReference’ option, like this


Compile-NAVApplicationObject -DatabaseName MyDB -DatabaseServer myDBServer -GenerateSymbolReference -LogPath C:\temp\powershelllog -NavServerInstance MyNavBC -NavServerManagementPort 7045 -NavServerName myNavBC -Recompile -SynchronizeSchemaChanges Force

Hope somebody can help me with directions to get this solved.
Thanks!

I have the same question (0)
  • Community Member Profile Picture
    on at

    Can you try run sync-navtenant

  • GuyF Profile Picture
    17 on at

    yes, we tried. It didn't solve the issue.

  • Verified answer
    Marco Mels Profile Picture
    on at

    Hello,

    Is the option Enable loading application symbol reference at server startup enabled as well?

    Thanks.

  • GuyF Profile Picture
    17 on at

    Hi Marco, This solved the issue! Thanks!

  • GuyF Profile Picture
    17 on at

    Hi Marco, This solved the issue! Thanks!

  • Syed Amir Profile Picture
    5 on at

    Hi GuyF,

    Can you share more information on how it got resolved? Thanks

  • GuyF Profile Picture
    17 on at

    Hi Syed,

    First make sure all your objects are compiled with the GenerateSymbolReference option

    Second, as mentioned by Marco, Enable 'loading application symbol reference at server startup' (In the settings of the NavInstance, under Development)

    Regards.

    GuyF

  • tiamat71 Profile Picture
    10 on at

    Hi

    I'm experiencing the same issue

    When i try to personalize the page, it crash !

    in the event viewer i have 5 events (2 warnings et 3 errors)

    Message Error(s) creating package -- Details:Error - AL0265: Reference to object Customer List is ambiguous. Make sure you are not referencing packages containing objects with the same names.

    Message Error(s) saving designer extension -- Details:Reference to object Customer List is ambiguous. Make sure you are not referencing packages containing objects with the same names.

    The test package is published, and the application symbol reference is ticked in the settings. All my symbols are up to date. When i get them from visual code, it's working, and i can compile my extension.

    the shortcut for launching finsql is with the GenerateSymbolReference option

    I don't understand what's wrong

    I'm in BC14 with webclient. 

  • GuyF Profile Picture
    17 on at

    Hi Tiamat71,

    Looks like you have made your own "Customer List" - I think you need to rename this one and alter you reference to this object.

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,135

#2
YUN ZHU Profile Picture

YUN ZHU 733 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 612

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans