We have an installation that has been running without any problem for about 2 years after upgrade from NAV 2009. They have BC14.0.45810.0
Yesterday, after server restart and Windows Update, users started reporting this error when opening main pages in BC, like customer list, item list, sales orders, etc.
Microsoft.Dynamics.Nav.Types.Exceptions.NavNotSupportedException
Also this is logged in the server's event viewer, for example whe opening Customer's List:
Server instance: ******
Category: Extensions
ClientSessionId: b7a2353c-7fb7-468c-bf04-33776b1c60e3
ClientActivityId: 22c421aa-eb1f-49ce-b5fa-9b960a0a4e93
ServerSessionUniqueId: f53d7320-d205-4b82-8191-48d68ecb6f94
ServerActivityId: 2d2383f8-ac71-4dea-84b5-f8f7c138e7d9
EventTime: 11/05/2019 09:49:59
Message Fatal error during metadata load -- Type:Query; Id:50; MetadataGroup:0; MetadataLoaded:False; CLRLoaded:False; ThreadGroup:0
ProcessId: 14224
Tag: 00007YQ
ThreadId: 22
CounterInformation:
Query 50 is "Power BI Customer List". Maybe a missing extension?
Doing a google search, we find this issue linked to the QueryCategory property of Pages: https://github.com/microsoft/AL/issues/5416
So just making this property blank, indeed solved the issue. But no official explanation of this issue was ever notified that I know of. We even upgraded to the latest Cumulative Update of BC 14 June 2022. The issue is still there.
Compiling the full application also didn't work.
Anyone know about the root reason of this error, and why it can suddenly appear after a server restart? Any fix that doesn't imply modifying all pages?