Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/asp.net-core/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在IIS上使用Chrome Pdf recipie的问题_Iis_Asp.net Core_Jsreport - Fatal编程技术网

在IIS上使用Chrome Pdf recipie的问题

在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

我正在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 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文件夹 应用程序,从命令行运行
    jsreport start
    ,然后输入 JSReportStudio。从那里,我可以使用示例数据运行报告 大小与我在运行时预期的大小相当,并且它们可以导出 很好

  • 我可以成功地向IIS托管的asp.net核心应用程序发出请求,以呈现普通HTML报告

  • 这些报告在我的本地计算机(IIS之外)上托管时运行正常

似乎IIS访问Chrome和进行pdf转换时存在某种问题。在使用IIS托管时,我是否需要采取任何其他步骤来实现chrome pdf转换