Error Report Definition Language (RDL) file is not valid!

rdl_invalid

It’s been a while since the first time I saw this error when working with SSRS Fetch-based reports for Dynamics CRM Online. It costed me a few hours scratching my head. Then I remembered I updated the SQL Server Data Tool to the latest version to work with Dynamics 365. But I was creating new reports for an old CRM project since 2015.

Solution

The latest SSDT targets SQL Server 2016 by default for Reports Project in Visual Studio, so you need to select the correct Target SQL Server.

Right click the your report project > Properties:

reportproperties

I had to select SQL Server 2008 for it to work in my case. Then rebuild the reports, when uploading to CRM remember to select reports from the build folder bin/Debug or bin/Release.

Happy reporting!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s