Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Sun Jun 14, 2020 11:02 am

Im trying to add FreeSpire.PDF (6.2.0) to an asp core 3.1 rest api project. Its works perfect on localhost, but after publishing it to az azure app service, it cant find the plugins folder:
The conversion provider cann't be found. \r\nPlease make sure the folder \"plugins\" is under the same folder of Spire.Pdf.dll. For more help, please visit below website.......

With reflection confirmed all files and folders are there, even tried force the path incode: HtmlConverter.PluginPath = @"d:\home\site\wwwroot\plugins";
"d:\\home\\site\\wwwroot\\appsettings.Development.json",
"d:\\home\\site\\wwwroot\\appsettings.json",
"d:\\home\\site\\wwwroot\\AutoMapper.dll",
"d:\\home\\site\\wwwroot\\AutoMapper.Extensions.Microsoft.DependencyInjection.dll",
"d:\\home\\site\\wwwroot\\dotnet-aspnet-codegenerator-design.dll",
"d:\\home\\site\\wwwroot\\libSkiaSharp.dll",
.......
"d:\\home\\site\\wwwroot\\SkiaSharp.dll",
"d:\\home\\site\\wwwroot\\sni.dll",
"d:\\home\\site\\wwwroot\\Spire.License.dll",
"d:\\home\\site\\wwwroot\\Spire.Pdf.dll",
...
"d:\\home\\site\\wwwroot\\System.Text.Encoding.CodePages.dll",
....
"d:\\home\\site\\wwwroot\\plugins\\d3dcompiler_47.dll",
"d:\\home\\site\\wwwroot\\plugins\\Html2Pdf.exe",
"d:\\home\\site\\wwwroot\\plugins\\HTMLConverter.dll",
"d:\\home\\site\\wwwroot\\plugins\\libEGL.dll",
"d:\\home\\site\\wwwroot\\plugins\\libGLESV2.dll",
"d:\\home\\site\\wwwroot\\plugins\\libSkiaSharp.dll",
"d:\\home\\site\\wwwroot\\plugins\\opengl32sw.dll",
"d:\\home\\site\\wwwroot\\plugins\\Qt5Core.dll",
"d:\\home\\site\\wwwroot\\plugins\\Qt5Gui.dll",
"d:\\home\\site\\wwwroot\\plugins\\Qt5Network.dll",
"d:\\home\\site\\wwwroot\\plugins\\Qt5Positioning.dll",
"d:\\home\\site\\wwwroot\\plugins\\Qt5PrintSupport.dll",
"d:\\home\\site\\wwwroot\\plugins\\Qt5Qml.dll",
"d:\\home\\site\\wwwroot\\plugins\\Qt5Quick.dll",
"d:\\home\\site\\wwwroot\\plugins\\Qt5QuickWidgets.dll",
"d:\\home\\site\\wwwroot\\plugins\\Qt5SerialPort.dll",
"d:\\home\\site\\wwwroot\\plugins\\Qt5Svg.dll",
"d:\\home\\site\\wwwroot\\plugins\\Qt5WebChannel.dll",
"d:\\home\\site\\wwwroot\\plugins\\Qt5WebEngineCore.dll",
"d:\\home\\site\\wwwroot\\plugins\\Qt5WebEngineWidgets.dll",
"d:\\home\\site\\wwwroot\\plugins\\Qt5Widgets.dll",
"d:\\home\\site\\wwwroot\\plugins\\QtWebEngineProcess.exe",
"d:\\home\\site\\wwwroot\\plugins\\SkiaSharp.dll",
"d:\\home\\site\\wwwroot\\plugins\\System.Text.Encoding.CodePages.dll",
"d:\\home\\site\\wwwroot\\plugins\\vcredist_x64.exe",
"d:\\home\\site\\wwwroot\\plugins\\bearer\\qgenericbearer.dll",
"d:\\home\\site\\wwwroot\\plugins\\iconengines\\qsvgicon.dll",
"d:\\home\\site\\wwwroot\\plugins\\imageformats\\qgif.dll",
"d:\\home\\site\\wwwroot\\plugins\\imageformats\\qicns.dll",
"d:\\home\\site\\wwwroot\\plugins\\imageformats\\qico.dll",
"d:\\home\\site\\wwwroot\\plugins\\imageformats\\qjpeg.dll",
"d:\\home\\site\\wwwroot\\plugins\\imageformats\\qsvg.dll",
"d:\\home\\site\\wwwroot\\plugins\\imageformats\\qtga.dll",
"d:\\home\\site\\wwwroot\\plugins\\imageformats\\qtiff.dll",
"d:\\home\\site\\wwwroot\\plugins\\imageformats\\qwbmp.dll",
"d:\\home\\site\\wwwroot\\plugins\\imageformats\\qwebp.dll",
"d:\\home\\site\\wwwroot\\plugins\\platforms\\qwindows.dll",
"d:\\home\\site\\wwwroot\\plugins\\position\\qtposition_geoclue.dll",
"d:\\home\\site\\wwwroot\\plugins\\position\\qtposition_positionpoll.dll",
"d:\\home\\site\\wwwroot\\plugins\\position\\qtposition_serialnmea.dll",
"d:\\home\\site\\wwwroot\\plugins\\position\\qtposition_winrt.dll",
"d:\\home\\site\\wwwroot\\plugins\\printsupport\\windowsprintersupport.dll",
"d:\\home\\site\\wwwroot\\plugins\\resources\\icudtl.dat",
"d:\\home\\site\\wwwroot\\plugins\\resources\\qtwebengine_devtools_resources.pak",
"d:\\home\\site\\wwwroot\\plugins\\resources\\qtwebengine_resources.pak",
"d:\\home\\site\\wwwroot\\plugins\\resources\\qtwebengine_resources_100p.pak",
"d:\\home\\site\\wwwroot\\plugins\\resources\\qtwebengine_resources_200p.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_ar.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_bg.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_ca.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_cs.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_da.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_de.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_en.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_es.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_fi.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_fr.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_gd.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_he.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_hu.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_it.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_ja.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_ko.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_lv.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_pl.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_ru.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_sk.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qt_uk.qm",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\am.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\ar.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\bg.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\bn.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\ca.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\cs.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\da.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\de.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\el.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\en-GB.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\en-US.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\es-419.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\es.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\et.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\fa.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\fi.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\fil.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\fr.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\gu.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\he.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\hi.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\hr.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\hu.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\id.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\it.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\ja.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\kn.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\ko.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\lt.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\lv.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\ml.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\mr.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\ms.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\nb.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\nl.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\pl.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\pt-BR.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\pt-PT.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\ro.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\ru.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\sk.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\sl.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\sr.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\sv.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\sw.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\ta.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\te.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\th.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\tr.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\uk.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\vi.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\zh-CN.pak",
"d:\\home\\site\\wwwroot\\plugins\\translations\\qtwebengine_locales\\zh-TW.pak"

vesztegandras
 
Posts: 3
Joined: Sun Jun 14, 2020 10:51 am

Mon Jun 15, 2020 6:54 am

Hello,

Thanks for your inquiry.
Are you using the x64 plugin? I created a ASP.NET Core Web API project using the x64 plugin and then published it directly to Azure, and did encounter the issue you mentioned. However, when I changed the platform of the general settings to 64 Bit (as shown below), it worked fine. Please verify it on your side.
Platform_settings.png

If the issue persists after trying, to help us further investigate your issue, please provide us with your runnable project. You could upload it to the DropBox or OneDrive and then share the download link with us([email protected]) via email.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Mon Jun 15, 2020 8:47 am

Hello,

thank you, this was the issue, now working fine :) :)

Sincerely,
Andris

vesztegandras
 
Posts: 3
Joined: Sun Jun 14, 2020 10:51 am

Mon Jun 15, 2020 9:14 am

Hello,

Thanks for your prompt response.
If you have further questions, just feel free to contact us.
Wish you all the best :D !

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Wed Mar 02, 2022 7:25 pm

Hi,

I am not able to find the Plugin.dll.I am working on POC for HTML to PDF conversion using spire.pdf (8.2.2) .net core.

I receive the following error.
- $exception {"The conversion provider cann't be found. \r\nPlease make sure the folder \"plugins\" is under the same folder of Spire.Pdf.dll. For more help, please visit below w System.InvalidOperationException

Please let me know how to resolve this issue.

Thank you,
Dep

deeptipotdar
 
Posts: 10
Joined: Wed Mar 02, 2022 7:12 pm

Thu Mar 03, 2022 1:48 am

Hello Dep,

Kindly note that the "plugins" is not a dll but a folder which contain the plugin. You can get the plugins according to the following article: Convert HTML to PDF with New Plugin, choose the corresponding to your system environment, and put the plugins folder under the same folder of Spire.Pdf.dll.

If the issue still exists after downloading the plugins, please provide us with your whole project and your system environment (E.g. Win7 X64) for further investigate. Thanks in advance.

Sincerely,
Marcia
E-iceblue support team
User avatar

Marcia.Zhou
 
Posts: 858
Joined: Wed Nov 04, 2020 2:29 am

Return to Spire.PDF