Object of type Query with ID # could not be found.

JlT
JlT Member Posts: 18
Hi!

I'am trying to publish 7 Queries (Object ID 70540-70546) of type API but I get the following error message as soon as the client opens up.

0tiu9frww8xp.png

The strange thing is that it is Query number two it complains about, deleting that one and publishing just ends up with an error for the next query. help with a solution or thoughts about what may be wrong would be much appreciated.

JlT

Answers

  • Kishorm
    Kishorm Member Posts: 921
    You would likely get that error of the query objects are not compiled
  • JlT
    JlT Member Posts: 18
    Well the queries are in an extension for Business Central so I assume they are compiled as they should.

    /JlT
  • Kowa
    Kowa Member Posts: 926
    edited 2024-12-04
    Has this error message today in BC 14.46 for unmodified and compiled Query 100, in both Page 22 Customer List and 31 Item List when trying to run them. The only way to get rid of it was to delete the QueryCategory in those pages.
    Kai Kowalewski