This is a migrated thread and some comments may be shown as answers.

Print & Export not work when report accessed remotely

7 Answers 383 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Iman
Top achievements
Rank 2
Iman asked on 18 May 2016, 09:50 AM

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.

7 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 19 May 2016, 03:18 PM
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
0
Iman
Top achievements
Rank 2
answered on 21 May 2016, 06:04 AM

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.

0
Iman
Top achievements
Rank 2
answered on 21 May 2016, 06:21 AM

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) ...

 

0
Iman
Top achievements
Rank 2
answered on 21 May 2016, 09:28 AM

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.

0
Stef
Telerik team
answered on 25 May 2016, 03:50 PM
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
0
Vincent
Top achievements
Rank 1
answered on 08 Apr 2021, 04:30 PM
We have the same issue and we have checked the JQuery, CSS and Kendo Files and they all look correct and meet the min requirement but we still get the same issue reported by the user at the top of this POST
0
Todor
Telerik team
answered on 13 Apr 2021, 09:33 AM

Hello Vincent,

Can you specify the version that you use?

You may also attach a Trace Listener to the REST Service and send us the generated logs.

If there are failing requests, they would be displayed by Fiddler. You may use Fiddler Jam to send us the logs from Fiddler.

Regards,
Todor
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
Iman
Top achievements
Rank 2
Answers by
Stef
Telerik team
Iman
Top achievements
Rank 2
Vincent
Top achievements
Rank 1
Todor
Telerik team
Share this question
or