404 (NOT FOUND) as sending request for /reports/<id>/content

Posted by: sonnguyentruong87 on 16 December 2019, 1:12 am EST

    • Post Options:
    • Link

    Posted 16 December 2019, 1:12 am EST

    I am implementing web designer.

    for Owin Startup, I added in 2 lines

     app.UseReporting(configure => configure.UseFileStore(ResourcesRootDirectory));
                app.UseDesigner(config => config.UseFileStore(ResourcesRootDirectory, false));
    

    I got error NOT FOUND on getting report contents. While /reports/list

    words fine.

    Did I missed something ?

  • Posted 16 December 2019, 1:15 am EST

    Sorry for the typo.

    I got error NOT FOUND on getting report contents. While /reports/list

    works fine.

    Did I missed something ?

  • Posted 16 December 2019, 7:05 am EST

    Hello,

    Please try after adding the following line <system.webServer> section

    <security>
        <requestFiltering allowDoubleEscaping="true"/>
      </security>
    

    Hope it helps.

    Thanks,

    Mohit

  • Posted 16 December 2019, 8:04 am EST

    Thank you for the support,

    Do we have to call ```

    encodeURIComponent

    on reportId at front-end (javascript) ?.
  • Posted 16 December 2019, 8:08 am EST

    Hello,

    No, Just add the previously mentioned lines in WebConfig. It will solve your issue.

    Request to please confirm is issue still reproducible at your end after adding mentioned lines.

    Thanks,

    Mohit

  • Posted 16 December 2019, 11:10 pm EST

    Hi mohitg,

    It does not work either, NOT FOUND persists. on my webform application. I added into config tag system.webServer.

  • Posted 17 December 2019, 2:19 am EST

    Hello,

    Could you please share your application so that I can replicate the issue at my end. Also, WebDesigner backend depends on MVC. So you can’t use the WebDesigner in simple WebForm application(Asp.Net).

    Thanks,

    Mohit

Need extra support?

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

Learn More

Forum Channels