Announcements
Hello,
I am trying to create an SSRS report from dataverse and taking base64 of an image from a multiple-line text field, but the variable is returning null as seen below.
[rsruntimeerrorinexpression] the value expression for the image contains an error: value cannot be null. parameter name: s
The expression put in the database use this field is: =System.Convert.FromBase64String(First(Fields!c_new_base64.Value, "DataSet1")), yet the same output is still showing and is underlined with red.
I tried to see if I assign the field in the report will it show output and the answer is yes. The variable [c_new_base64] is giving an output when putting it on the report.
(This is not the full base64 code)
In conclusion, the variable is not empty (37116 characters), yet when assigning it to an image I am getting an error of null variable.
I hope to receive answers that will help me with my case.
Thank you!
Hi MBaba,
Please check my answer in another thread, it could be helpful:
André Arnaud de Cal...
293,296
Super User 2025 Season 1
Martin Dráb
232,093
Most Valuable Professional
nmaenpaa
101,156
Moderator