Report Error “The definition of the report ‘ ‘ is invalid”

Designing reports in NAV is a time consuming task. Microsoft has made several changes since the introduction of RDLC. But still partners must budget enough time to create custom layouts.

In NAV2015 Microsoft introduced the possibility to create custom designs from the Windows client instead of the development environment.

This feature lets end users design their own layouts. So that partners can reduce budget. I think end users love this feature but now partners can have helpdesk questions with the following error.

Ok, this error doesn’t say much for the end user and they have no clue how to fix.

Now partners must find the exact error. I tried to debug it but without success.
Then I tried another approach and these are the following 8 steps:

  1. Export RDLC with Windows Client

  2. Export object to tekst with Development Environment.
  3. Open it with Notepad.
  4. Find the RDLDATA tag in the bottom and delete everything between the Brackets { … }.

  5. Open RDLC with Notepad
  6. Copy all lines and past it between the Brackets { … } RDLDATA tags in the txt object.
  7. Save the tekst object and import in NAV.
  8. And last but not least compile the object and there is a logic error 😉

After doing all these steps you can tell your end user that they have used a data field that is removed from the dataset.

It would be great that the last error was given to the end users so that they can solve their own problems. Maybe in a future release?

Leave a Reply

Your email address will not be published. Required fields are marked *