[英]Rotativa locally works fine but it's unable to redirect the view in the server
這里需要檢查的幾件事:
在此處檢查類似的問題/答案
https://stackoverflow.com/a/50066692/3559462
https://stackoverflow.com/a/36877635/3559462
https://stackoverflow.com/a/27942678/3559462
(使用 rotativa 或 itextsharp 剃刀到 pdf): https ://qawithexperts.com/article/asp.net/export-html-to-pdf-in-aspnet-mvc-using-itextsharp-or-rotativ/94
我建議您在應用程序的根目錄中添加“Rotativa”文件夾並添加這些文件
help-wkhtmltoimage.txt
help-wkhtmltopdf.txt
msvcp120.dll
msvcp140.dll
msvcr120.dll
vcruntime140.dll
wkhtmltoimage.exe
wkhtmltopdf.exe
wkhtmltox.dll
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.