在IIS上使用Chrome Pdf recipie的问题
我正在asp.net核心应用程序中使用jsreport nuget包。我能够在本地计算机上生成pdf报告,但是当我尝试使用IIS中运行的asp.net核心应用程序生成报告时遇到问题。每当我尝试运行报告时,它最终会超时,并给出以下错误:在IIS上使用Chrome Pdf recipie的问题,iis,asp.net-core,jsreport,Iis,Asp.net Core,Jsreport,我正在asp.net核心应用程序中使用jsreport nuget包。我能够在本地计算机上生成pdf报告,但是当我尝试使用IIS中运行的asp.net核心应用程序生成报告时遇到问题。每当我尝试运行报告时,它最终会超时,并给出以下错误: Error rendering report: instance has been daemonized and initialized successfully (pid: 2480)A critical error occurred while trying
Error rendering report: instance has been daemonized and initialized successfully (pid: 2480)A critical error occurred while trying to execute the render command: Timeout Error: pdf generation not completed after 40000ms
有关我的设置的一些信息:
- 该应用程序正在服务器2008R2计算机上的IIS中安装
- IIS应用程序正在网络授权用户下运行
- 我已授予应用程序池对jsreport的完全权限
与ASP.Net核心应用程序一起部署的文件夹 - 我已授予应用程序池对jsreport的完全权限
C:\Windows\Temp中的文件夹
- 我可以导航到部署的asp.net核心中的jsreport文件夹
应用程序,从命令行运行
,然后输入 JSReportStudio。从那里,我可以使用示例数据运行报告 大小与我在运行时预期的大小相当,并且它们可以导出 很好jsreport start
- 我可以成功地向IIS托管的asp.net核心应用程序发出请求,以呈现普通HTML报告
- 这些报告在我的本地计算机(IIS之外)上托管时运行正常