[英]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.