Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

After using Lookupset in SSRS report getting error while open report in CRM

(1) ShareShare
ReportReport
Posted on by

Is it possible to use Lookupset function in reports for CRM Version 1710 (9.1.0.11733) online.
I keep getting an error "This report can’t upload because there are restrictions with SQL Server Reporting Services reports when Report Definition Language (RDL) Sandboxing is enabled." Please find error snapshot.

5282.error.PNG

I am using VS2015 and the following expression(syntax).

=Join (LookupSet(Source_dataset_field,Destination_dataset_field, Result_Field ,"Dataset_name"), "," & vbCrlf)

If I remove these expressions report working fine.

I have tried with change target server version of project property in visual studio and pick RDL file from bin/debug folder. but, Its not working.

  • Tejas9474 Profile Picture
    Tejas9474 on at
    RE: After using Lookupset in SSRS report getting error while open report in CRM

    Thanks Andrew,

    & vbCrlf was causing problem. for crm, we need to use & vbCRLF instead of & vbCrlf.

  • Verified answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: After using Lookupset in SSRS report getting error while open report in CRM

    Hello,

    That's weird. Here is the list of disallowed members - docs.microsoft.com/.../rdl-sandboxing that can cause mentioned error.

    You have 3 of those - Join, LookupSet and vbCrlf. Can you please use every of mentioned members in formula to find the "guilty" one? My assumption that it should be vbCrlf but I want to confirm.

    Once you know which of member causes an issue you can either find a workaround  or get in touch with Microsoft for clarification.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,317 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans