[英]Debugging Azure Service Fabric Application in Visual Studio for 5 node cluster
[英]Rotativa crashes on service fabric node in Azure
我有一个项目需要收集多个数据并将其放入单个pdf中,因此我使用了Rotativa包装器。 它在我的本地服务结构集群上运行良好,并且能够使用ViewAsPdf生成pdf,然后获取字节数组以将其附加到电子邮件中。 当我在Azure(服务结构群集)中部署项目并且我收到此错误时,就会出现问题:
at Rotativa.AspNetCore.WkhtmlDriver.Convert(String wkhtmlPath, String switches, String html, String wkhtmlExe)\\r\\n at Rotativa.AspNetCore.WkhtmltopdfDriver.ConvertHtml(String wkhtmltopdfPath, String switches, String html)\\r\\n at Rotativa.AspNetCore.ViewAsPdf.<CallTheDriver>d__19.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---
我尝试过的事情:
服务结构节点是Windows计算机。 该项目使用aspnet core 2.0构建。任何帮助将不胜感激。 谢谢!
我认为这是一个缺少的依存关系问题。
根据您提供的方案和消息The application was unable to start correctly(0xc000007b)
还有其他相关问题: 应用程序无法正确启动(0xc000007b)和错误:应用程序无法正确启动
另一个问题可能是缺少运行或访问特定依赖项的权限。
我建议您尝试:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.