We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

PDF viewer stop working after a change in version in report viewer.

Hello,
After an export issue in report, we changed the syncfusion version to Syncfusion.Web.ReportViewer v16.3.0.21.  For the report viewer, when we export a report, the export is done but then there is a server error "Server cannot set status after HTTP headers have been sent."

We are also having another issue with pdf viewer, after changing the Syncfusion.Web.ReportViewer version:
  1. For the pdf viewer: the plugin load the pdf with the exact number of page but all blank.
  2. To convert a word, docx, to pdf, we have a "ReadTimeout" internal error and the file stream becomes null.

 The version we  are using is Syncfusion.AspNet.Mvc5.PdfViewer v16.4.0.52.

Can you please provide any solutions for those issues?

Thanks,
Alis

1 Reply

RT Ramya Thirugnanam Syncfusion Team July 18, 2019 01:00 PM UTC

Hi Alis, 
 
Thanks for contacting Syncfusion support. 
 
 
Query  
Response  
I check the assemblies and they are all present in the project.  We changed the syncfusion version to Syncfusion.Web.ReportViewer v16.3.0.21.  For the report viewer, when we export a report, the export is done but then there is a server error "Server cannot set status after HTTP headers have been sent."  
We have checked the mentioned issue with 16.3.0.21 version assemblies, but we were not able to reproduce the mentioned issue. So, we have prepared a simple MVC report viewer sample and it can be downloaded from below location. Could you please confirm whether the below sample is working fine at your end?  
  
If issue persists then could you please revert the sample with issue reproducible case to validate the mentioned problem at our end.  
We are also having another issue with pdf viewer, after changing the Syncfusion.Web.ReportViewer version:   
For the pdf viewer: the plugin load the pdf with the exact number of page but all blank.  
To convert a word, docx, to pdf, we have a "ReadTimeout" internal error and the file stream becomes null.  
  
The version we  are using is Syncfusion.AspNet.Mvc5.PdfViewer v16.4.0.52.  
   
We suspect the mentioned issue occurs when dependent assembly versions are mismatching. So is this possible for you to modify the sample to reproduce the m 
We are also having another issue with pdf viewer, after changing the Syncfusion.Web.ReportViewer version: 
  1. For the pdf viewer: the plugin load the pdf with the exact number of page but all blank.
  2. To convert a word, docx, to pdf, we have a "ReadTimeout" internal error and the file stream becomes null.
 
We are unable to reproduce the reported issue with the provided details. We have created a sample to load the Report file in the PDF Viewer and shared the same in the following location. 
 
 
However, we suspect that the reported issue will occur due to Script and assemblies of different version referred in the project. So kindly refer all the Syncfusion dependencies, Script and CSS files of same version in your project. 
Please try this and revert us with the modified sample in which the issue could be reproduced. It will be helpful for us to investigate further and assist you better. 
 
 
Regards, 
Ramya T 


Loader.
Live Chat Icon For mobile
Up arrow icon