I have a wevservice that returns an image as a Base64 string, or as a byte array, that I need to show as an image in SSRS. Not sure how to do that.
I tried using an expression in the image properties:
=System.Convert.FromBase64String("http://localhost:5460/api/Report/GetImage")
but that does not work. How do I get the string or array from the URL, then display it as an image?
I have also tried a Code block, but when I try
Dim hwr As System.Net.HttpWebRequest
hwr = System.Net.WebRequest.Create("http://localhost:5460/api/Report/GetImage")
I get the error:
Severity Code Description Project File Line Suppression State
Warning [rsRuntimeErrorInExpression] The Value expression for the textrun 'Textbox2.Paragraphs[0].TextRuns[0]' contains an error:
Insufficient permissions for setting the configuration property 'maximumErrorResponseLength'. (c:\program files (x86)\microsoft visual studio\2017\sql\common7\ide\commonextensions\microsoft\ssrs\PreviewProcessingService.exe.Config line 42) C:\Users\Desktop\REP90011\REP90011.rdl 0
This is on my local machine, not on the SSRS server or through IIS. Just through the preview pane in VS 2017.