HIQPDF中将html转换为图像时出错 [英] Error in HIQPDF for converting html to image

查看:131
本文介绍了HIQPDF中将html转换为图像时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在HIQPDF中遇到错误,因为当在爸爸服务器上部署它在本地系统中正常工作时将html转换为图像。



错误 -



检查HiQPdf.dep资源文件是否可以在HiQPdf.dll程序集附近找到,并且用户具有此文件的读取和执行权限。调用SetDepFilePath( )方法,如果你把HiQPdf.dep放在不同的位置



任何人都可以帮我这个吗?



在此先感谢...

解决方案

在下面的链接上尝试常见问题解答。在可能的解决方案中提到了相同的错误。



http://www.hiqpdf.com/FAQs.aspx [ ^ ]


< blockquote>



我遇到了同样的问题。你有没有答案。


如果HiQPdf.dep资源文件在运行时没有与HiQPdf.dll程序集在同一文件夹中,则会发生此错误。当您在Visual Studio中的应用程序中引用HiQPdf.dll并构建该应用程序时,HiQPdf.dll和HiQPdf.dep将自动复制到应用程序的Bin文件夹中。此外,将程序集添加到GAC时,HiQPdf.dep文件将自动复制到HiQPdf.dll附近。这意味着通常这两个文件将保持在一起,但是可能会出现这种情况,例如当您手动复制服务器上的文件而忘记复制HiQPdf.dep或者自动复制程序集时阴影复制机制在运行时的临时位置,不考虑装配资源。


I am getting error in HIQPDF for converting html to image when deploy on go daddy server its working fine in local system.

Error-

"Check the HiQPdf.dep resource file can be found near the HiQPdf.dll assembly and the user has read and execute permissions for this file. Call SetDepFilePath() method if you placed the HiQPdf.dep in a different location"

Can any one please help me with this?

Thanks in advance...

解决方案

Try FAQ on below link. Same error has been mentioned with possible solution.

http://www.hiqpdf.com/FAQs.aspx[^]


Hi,

I am getting the same issue. Have you got the answer.


This error can occur if the HiQPdf.dep resource file there is not in the same folder with HiQPdf.dll assembly at runtime. When you reference the HiQPdf.dll in your application in Visual Studio and you build that application, HiQPdf.dll and HiQPdf.dep will be automatically copied in the Bin folder of the application. Moreover, the HiQPdf.dep file will be automatically copied near the HiQPdf.dll when you add the assembly to GAC. This means that in general the two files will stay together, but there might be situations when this does not happen for example when you manually copy the files on a server and you forget to copy the HiQPdf.dep or if the assembly is automatically copied in a temporary location at runtime by a shadow copy mechanism which doesn't take into account the assembly resources.


这篇关于HIQPDF中将html转换为图像时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆