Set Relative path instead of absolute path

Posted by: ashna.asif on 3 October 2019, 12:22 am EST

  • Posted 3 October 2019, 12:22 am EST


    How can I set relative path for Database connection, Subreports etc.

  • Marked as Answer

    Replied 3 October 2019, 8:36 pm EST


    You can specify the relative path for data sources, based on the current location of the report.
    If you place a report and a database at the same location, you can simply specify the name of the file in the Report Data Source reference tab.
    Likewise, if a subreport is placed in an internal directory as in the case of the attached files, you can specify the relative path as: Subreport\Subreport.rdlx.

  • Replied 8 October 2019, 4:56 pm EST

    I tried the above mentioned approach in a Page Report. I just moved the db into the same folder as my page report and provided only the name of the db file. I did not get the desired result. Instead I got an error PFA.(Result of two attmpts) Please guide me if I am missing out on something here.
  • Replied 9 October 2019, 5:06 pm EST


    If the database is at the same location, this error should not occur. Please refer the attached gif showing the similar situation, where the report renders fine when the report and database are at the same location.
    Let me know if you follow any different steps.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels