ActiveReport 15 Asp.NetCore in doesn´t find Report

Posted by: volkhardv on 13 February 2021, 1:10 am EST

  • Posted 13 February 2021, 1:10 am EST

    Hello,
    i´m using ActiveReport 15 with Asp.NetCore.Viewer.
    1) When i deploy my web in a Root-Directory, the report is found
    2) when i deploy my web in a sub-Directory, the report is not found
    In the browser-development-tools you can see that the call api/eporting/reports...-call is going to the root.

    How can i support szenario 2) with actice-Reports?

    best regards

    Volkhard
  • Marked as Answer

    Replied 13 February 2021, 2:44 pm EST

    Hello,

    Can you add the following code in the "Head" section in the HTML file containing the JSViewer:
    <base href="/SubDirName/">

    Thanks,
    Mohit
  • Replied 13 February 2021, 5:46 pm EST

    Hello Mohit,
    thanks - this helped :)

    best regards

    Volkhard
Need extra support?

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

Learn More

Forum Channels