8
as discussed on https://www.yammer.com/dynamicsnavdev/#/Threads/show?threadId=1222998933708800

Various syntax errors in RDL VB expressions can cause this cryptic, baffling, red-herring-chasing-inducing error:

> "Rendering output for the report failed and the following error occurred: An unexpected error occurred while compiling expressions. Native compiler return value: ‘[BC40000] 'RequestMinimum' is obsolete: 'Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.'’"

It seems like error-trapping when evaluating the report expression at runtime is failing, and returning this seemingly unrelated error instead. So, instead of a useful error, we get this totally misleading one, and waste our time searching about it in our code, when the real problem is elsewhere. Is there anything MS can do to fix?
Category: Development
STATUS DETAILS
Completed
Ideas Administrator

This bug has now been fixed and will be backported to version 18.x, where it will be available in the next upcoming cummulative update.

Yours sincerely,
Kennie Nybo Pontoppidan (Program Manager for the Business Central Server)

Comments

D

I still get this error frequently in BC 21.4. This was not fixed at all.

Category: Development

D

Any news about this nothing saying error becoming usefull ?

Category: Development

D

I noticed this idea after struggling couple of hours with finding what was, in the end, a typo on RDLC layout. Tested in BC 19.3 and 19.2 containers, both produced the obscure error message described in the original message. Is this really completed?

Category: Development