i want to generate pdf from Razor view ,i used Rotativa nuget package or HiqPDF package ,it working fine on local machine but when i hosted on server it will give following error,help me to resolve an errorNuGet包本地不在服务器上的“/”应用程序运行
服务器错误。
错误0x4EC。检查HiQPdf.dep资源文件可以在HiQPdf.dll程序集附近找到,并且用户已经读取并执行此文件的权限。调用SetDepFilePath()方法,如果你放置HiQPdf.dep在不同的位置
描述:在当前web请求的执行过程中发生未处理的异常。请查看堆栈跟踪以获取有关该错误的更多信息以及源代码的位置。
Exception Details:
System.Exception: Error 0x4EC. 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
源错误:
在当前web请求的执行过程中生成未处理的异常。关于异常的来源和位置的信息可以使用下面的异常堆栈跟踪来标识。
堆栈跟踪: