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!