Passing file path to value field in SSRS RRS feed

  • Question

  • Hi,

    I am trying to pass the path of my picture through a parameter to the Value filed of image box. The code is

    File: & Parameters!Pct.Value

    Pct is a parameter contains the path of my jpg file (string type).

    But report is not showing anything...... Please note when I put File:D:\TV.jpg in value, it works but when I pass it through parameter, then I do not get anything

    Please advise.

    Monday, July 18, 2011 5:22 PM

All replies

  • There are security restrictions around accessing the local hard drive and I would not to expect this to work in all cases. I suggest you put the file to be hosted on a web server or in a database and not use the local path in parameters to toggle the picture, but use a parameter value to toggle the URL. Example for a URL image: "http://myserver/share/" & Parameters!Pct.Value"
    Brad Syputa, Microsoft Reporting Services This posting is provided "AS IS" with no warranties.
    Tuesday, July 19, 2011 4:12 PM