Relative image path '{0}' is not resolved to absolute

Logan

Hello! I was wondering if anyone could point me to a resource that goes a little further in-depth with how paths are handled in PictureBox items.

I have a set of pictures that I am attempting to display without embedding them in the report. In the Standalone Report Designer, it works. But in the Report Server, I get the error from the title of my thread, even though I've replicated the filepath for the pictures and populated the directory with them.

However, there is another set of pictures in the same report stored in the same file that are displaying. But it's location is being built in a data source and they are displaying as expected.

Logan

Silviya

You could find more information about PictureBox item's data binding in our PictureBox: Data Binding section of the help article.

As a side note, prior to version 4.2.18.912 of Report Server, we have a bug with resolving the PictureBox image from relative and absolute path. Please refer to Progress® Telerik® Report Server R3 2018 (4.2.18.912) release history page for more information. AA possible workaround prior to this version is using a custom function that returns a System.Drawing.Bitmap instance with the image instead of the path. In this case the path to the image will be resolved by the user function.

Regards,
Silviya
Progress Telerik

Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items

Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.