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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Docker Windows - PDFViewer does not work, any ideas or guides?

Thread ID:

Created:

Updated:

Platform:

Replies:

151041 Jan 28,2020 10:03 PM UTC Feb 4,2020 08:56 AM UTC Blazor 7
loading
Tags: PDF Viewer
Dean Walker
Asked On January 28, 2020 10:03 PM UTC

Hi,

I have a simple blazor server app with the pdfviewerserver control in it, 

Asp.net core 3.1.1 and EJ2 17.4.44

The application works fine on IIS and IIS Express (apart from a separate rendering issue that i've logged in another call) but I have tried to deploy in Docker Desktop (windows) and the pdfviewer does not function and will not load a file.

When the DocumentPath is changed it just displays the spinner and is greyed out, it never times out it sits there with the spinner indefinitely.

I cannot see any errors in the browser, visual studio or docker console.

All my other functionality works such as displaying a list of data from an external SQL database and I have used the EJ2 calendar control and that works.

Is there a guide/faq or do you have any idea what might be causing this behaviour or any suggestions as to how i can find the problem?

I wondered if it might be a file/share access problem but have no way to tell or any idea how to circumvent the problem if it is.

Many thanks,

Dean



Akshaya Arivoli [Syncfusion]
Replied On January 29, 2020 01:47 PM UTC

Hi Dean,  

Thank you for using Syncfusion products. 

We are currently working on creating the Windows Docker environment to check the reported query and we will update you with further details on January 31st, 2020. 

Regards,  
Akshaya 


Dean Walker
Replied On January 29, 2020 03:26 PM UTC

Hi Dean,  

Thank you for using Syncfusion products. 

We are currently working on creating the Windows Docker environment to check the reported query and we will update you with further details on January 31st, 2020. 

Regards,  
Akshaya 


Brilliant, i look forward to hearing what you find, much appreciated.

In the meantime if i have any breakthrough i'll update accordingly.

Dean

Rajasekar G [Syncfusion]
Replied On January 31, 2020 02:03 PM UTC

Hi Dean, 

Thank you for your patience. 

We have tried to create a windows docker environment to replicate the issue. In our implementation, we have used pdfium.dll internally. In the docker environment, we are facing the following error while referring to the pdfium.dll. we need some more time to investigate further on this. We will update you on the details on this by 3rd February 2020. 

"Unable to load DLL 'Pdfium.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)" 

Please let us know if you have any queries about this. 

Thanks, 
Rajasekar 


Dean Walker
Replied On January 31, 2020 04:08 PM UTC

Hi Dean, 

Thank you for your patience. 

We have tried to create a windows docker environment to replicate the issue. In our implementation, we have used pdfium.dll internally. In the docker environment, we are facing the following error while referring to the pdfium.dll. we need some more time to investigate further on this. We will update you on the details on this by 3rd February 2020. 

"Unable to load DLL 'Pdfium.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)" 

Please let us know if you have any queries about this. 

Thanks, 
Rajasekar 


Hi,

OK no problem, thank you for the update.

Dean.

Akshaya Arivoli [Syncfusion]
Replied On February 3, 2020 11:33 AM UTC

Hi Dean, 

Thank you for your patience. 

We have found the reason for the issue “Unable to load DLL 'Pdfium.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)” that the .NET Framework is missing in the windows docker container. We have resolved this by installing both .NET Framework and .NET core in a windows docker container. We have prepared the simple sample and it can be downloaded from the following location, 


Note: In this sample, we have attached the Dockerfile for your reference. 

Please let us know if you have any queries about this. 

Regards, 
Akshaya 


Dean Walker
Replied On February 3, 2020 12:02 PM UTC

Hi,

Ahhhh ok, i had assumed that as this was a blazor app that it was .net core and did not require full framework.

No problem i will try the suggested workaround.

Many thanks for your time it is very much appreciated.

Dean

Padmini Ramamurthy [Syncfusion]
Replied On February 4, 2020 08:56 AM UTC

Hi Dean, 
  
You are most welcome and please get back to us if you need any other assistance. 
  
Regards, 
Padmini  


CONFIRMATION

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