web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

This report can’t upload. This issue can occur when the Report Definition Language (RDL) file is not valid.

(0) ShareShare
ReportReport
Posted on by

Greetings,

I am using Visual Studio 2015 to build a Sales Order Report and when I try to upload it online I get the error: "This report can’t upload. This issue can occur when the Report Definition Language (RDL) file is not valid." Reading the post I see there are some visual basic limitations however, going through my file I only am using Microsoft.VisualBasic.Interaction.Iif() to show and hide various fields and embedded images in the report.

Any ideas?

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Remove this Microsoft.VisualBasic.Interaction from IIF condition and try again

  • Community Member Profile Picture
    on at

    I removed all the Microsoft.VisualBasic.Interaction from IIF conditions and I get the same error.

  • Community Member Profile Picture
    on at

    I am also working in a Sandbox environment if that makes any difference.

  • Community Member Profile Picture
    on at

    I think there are some references still left in the report. I would suggest you to create a bank test report and try to upload it.

  • Community Member Profile Picture
    on at

    Created a new report with simple XML from advanced find and got the same results.

    <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">

     <entity name="salesorder">

       <attribute name="customerid" />

       <attribute name="totalamount" />

       <attribute name="ownerid" />

       <attribute name="ordernumber" />

       <attribute name="ps_billtocontact" />

       <attribute name="createdon" />

       <attribute name="statecode" />

       <attribute name="salesorderid" />

       <order attribute="createdon" descending="false" />

       <order attribute="customerid" descending="false" />

       <filter type="and">

         <condition attribute="statecode" operator="eq" value="0" />

       </filter>

       <link-entity name="contact" from="contactid" to="ps_billtocontact" visible="false" link-type="outer" alias="a_c7105b6ca935e51180cf00155d286610">

         <attribute name="emailaddress1" />

         <attribute name="telephone1" />

       </link-entity>

     </entity>

    </fetch>

  • Verified answer
    ashlega Profile Picture
    34,477 on at

    It seems I just ran into this issue.. To resolve, try this:

    - Open project properties and configure target version to be 2008...

    - Build the project!

    - Get that rdl file from the bin/debug subfolder (not from the main folder)

    It seems there is a problem with the TargetVersion:

    stackoverflow.com/.../can-i-control-the-version-of-new-ssdt-reports-in-visual-studio

  • Verified answer
    Community Member Profile Picture
    on at

    Thank you.

  • Community Member Profile Picture
    on at

    Thanks for your help, it works now !

  • Antony Stalin Profile Picture
    15 on at

    As Alex replied changing TargetServerVersion is resolved the issue.

    Since i'm using Visual studio 2015. Default version is "SQL Server 2016 or later". I have updated to "SQL Server 2008 R2, 2012 or 2014" and it works.

    Thanks

  • Burim Profile Picture
    450 on at

    Thank You....

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans