Unable to generate reports (Save as PDF) due to PhantomJS error?
mrhcarlin
Posts: 5 New member
We're trialling SQL Monitor 8 on a brand new sever (Windows Server 2016
1607) using IIS, and most things seem to be working fine. However,
whenever we attempt to generate a PDF report (Reports > cog icon >
Save as PDF), we get a HTTP 500 error (useless on its own I know), but
Event Viewer seems to indicate that it's because PhantomJS crashed. The
errors are repeatable:
- ERROR RedGate.SqlMonitor.UI.Website.Areas.Reports.Controllers.ReportController [(null)] - Phantom did not create a file C:\Windows\TEMP\SQLMonitorReport-55661723-716d-4670-849c-180366e1eeb9.pdf
- ERROR RedGate.SqlMonitor.UI.Website.Areas.Reports.Controllers.ReportController [(null)] - Phantom JS error: <http://phantomjs.org/bug-reporting.html> and file a bug report.
- ERROR RedGate.SqlMonitor.UI.Website.Areas.Reports.Controllers.ReportController [(null)] - Report rendered exited with unexpected exit code -1073741819
- ERROR RedGate.SqlMonitor.UI.Website.Areas.Reports.Controllers.ReportController [(null)] - Report rendered exited with unexpected exit code 1
- ERROR RedGate.SqlMonitor.UI.Website.Areas.Reports.Controllers.ReportController [(null)] - Phantom did not create a file C:\Windows\TEMP\SQLMonitorReport-55661723-716d-4670-849c-180366e1eeb9.pdf
Initially
I thought my IIS configuration was incorrect, but I went over the
installation guide and video several times, cross-checking against our
setup, and it seems sound unless there are steps missing in the
documentation.
We're planning to buy the
product mid-Feb, but would like to make sure we can get it working
properly first, so any advice/help/hints/suggestions would be most
appreciated.
Thanks!
Tagged:
Answers