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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PDF viewer having its content as transparent.

Thread ID:





146183 Jul 24,2019 12:06 PM UTC Jul 25,2019 08:33 AM UTC JavaScript - EJ 2 2
Tags: PDF Viewer
Asked On July 24, 2019 12:06 PM UTC


I am using the the pdf viewer to view documents but the contents of the documents are not visible.  When analysing the rendered html, the contents are here but are tansparent.

Below is my code:

                        serviceUrl: '/api/ApiController/PdfViewer',
                        pdfService: ej.PdfViewer.PdfService.Local,
                        serverActionSettings: { load: "Load", fileUpload: "FileUpload", download: "Download" }
                    var _ejPdfViewer = $("#pdfviewerJs").data("ejPdfViewer");
                    _ejPdfViewer.setModel({ locale: lang });

Data is the pdf content in base64 string.
I am attaching part of my web.config so you can see the assemblies.


Attachment: Web_c4c263f6.zip

Replied On July 25, 2019 04:46 AM UTC


I tried the following sample:

However, upon running the solution, I got the below error:

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Syncfusion.EJ, Version=16.4400.0.52, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Source Error: 

Line 22:     <compilation debug="true" targetFramework="4.5.1">
Line 23:       <assemblies>
Line 24:         <add assembly="Syncfusion.EJ, Version=16.4400.0.52, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
Line 25:         <add assembly="Syncfusion.EJ.MVC, Version=16.4400.0.52, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
Line 26:       </assemblies>

Assembly Load Trace:
 The following information can be helpful to determine why the assembly 
'Syncfusion.EJ, Version=16.4400.0.52, Culture=neutral, 
PublicKeyToken=3d67ed1f87d44c89' could not be loaded.

Any help please?

Ramya Thirugnanam [Syncfusion]
Replied On July 25, 2019 08:33 AM UTC

Hi Alis, 
Thanks for contacting Syncfusion support. 
We are unable to reproduce the reported issue with the details provided in the forum. We have created a PDF Viewer sample with the provided code snippet and shared the same in the following location,   
Kindly ensure to refer Scripts, CSS and Assemblies of same version in your project 
Please try with this and revert us with the modified sample, culture settings, Essential Studio Version and the PDF document in which the issue could be reproduced. These details will be helpful for us to investigate further and assist you better.  
Ramya T 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon