Print & Export not work when report accessed remotely

6 posts, 0 answers
  1. Iman
    Iman avatar
    7 posts
    Member since:
    Jun 2013

    Posted 18 May Link to this post

    I'm using HTML5 report viewer and I can access the report remotely and view it, but none of "Print", "Export to excel or PDF" works.

    Also I tried accessing the report locally and I have tested each of the mentioned non-working functions, all of them were OK.

    I thinkthe problem related to permissions but I don't know where and how I should change permissions to allow remote users be able to export report like a local user.

  2. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 19 May Link to this post

    Hi Iman,

    Please check my post in the HTML5 Report Viewer - Export options are missing forum thread.

    If you need further help, we will need to check the log file generated by Fiddler.

    Regards,
    Stef
    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
  3. DevCraft banner
  4. Iman
    Iman avatar
    7 posts
    Member since:
    Jun 2013

    Posted 21 May Link to this post

    Hi Stef

    I attached the log file  of the requests. please check it. (Renamed it's extention from *.saz to *.png to be able to upload)

    Thanks in advance.

  5. Iman
    Iman avatar
    7 posts
    Member since:
    Jun 2013

    Posted 21 May in reply to Iman Link to this post

    More info:

    request: GET /api/reports/clients/102301-bd16/instances/null/documents/102303-78c3102329-50d5?response-content-disposition=attachment 

    exceptionMessage : "Report instance with ID 'null' not found."

     

    exceptionType:"Telerik.Reporting.Services.Engine.InvalidInstanceException","stackTrace":"   at Telerik.Reporting.Services.Engine.PersistableCollection`1.InstantiateItem(String itemID) ...

     

  6. Iman
    Iman avatar
    7 posts
    Member since:
    Jun 2013

    Posted 21 May Link to this post

    Answer:

    We were using "Telerik Reporting Q1 2015 SP1 (version 9.0.15.324)" and it was a bug in "telerikReportViewer-*.js". Upgrading to "Telerik Reporting Q2 2015 SP1 (version 9.1.15.731)" solved the problem.

  7. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 25 May Link to this post

    Hi Iman,

    I am glad to hear the issue is resolved.

    I should add that there is no known issue with the mentioned Telerik Reporting Q1 2015 SP1 version - knwon issues are listed in each release notes. In general, export options are known to miss when there are missing Telerik Kendo UI CSS, JS files, or they are not of the same version.

    Other possible reason is that the listed operations - export, print - require the exported document to be loaded in a hidden window which may be restricted in some browsers. The way documents are loaded can be changed from the viewer's JS template - search for window.open line and change the target.

    Regards,
    Stef
    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
Back to Top
DevCraft banner