Submit a ticketCall us

WebinarUpcoming Webinar: Should I Move My Database to the Cloud?

So you’ve been running an on-premises SQL Server® for a while now. Maybe you’ve moved it from bare metal to a VM, and have seen some positive benefits. But, do you want to see more? If you said “YES!”, then this session is for you, as James Serra will review the many benefits that can be gained by moving your on-prem SQL Server to an Azure® VM (IaaS). He’ll also talk about the many hybrid approaches, so you can gradually move to the cloud. If you are interested in cost savings, additional features, ease of use, quick scaling, improved reliability, and ending the days of upgrading hardware, this is the session for you.

Register now.

Home > Success Center > Network Performance Monitor (NPM) > Unable to retrieve the URL for scheduled PDF report

Unable to retrieve the URL for scheduled PDF report

Updated November 30th, 2017

Overview

This article provides brief information and steps to resolve the issue when you are unable to retrieve the URL for the Scheduled PDF Report. Possible errors:

 

  • Core Business Layer Log Error:

ERROR SolarWinds.Orion.Core.Actions.Utility.WebPageFetcher - FAIL: Convertion failed. All workers are busy. Please increase HtmlToPdf.MaxConcurrentTaskCount. 

See Convertion failed, increase HtmlToPdf.MaxConcurrentTaskCount.
 

  • Error:

ERROR SolarWinds.Orion.Core.Actions.Utility.WebPageFetcher - FAIL: EO.Pdf.HtmlToPdfException: Failed to convert Url 'http://SERVERNAME:80/Orion/Report.as...cae24cec7fa'.(404:The server has not found anything matching the requested URI
See Failed to convert.

 

  • Error:

While running a report in report scheduler, it displays an error 'Unable to convert page to PDF'.

See Unable to convert page to pdf.

 

Environment

All NPM versions

Convertion failed. All workers are busy. Please increase HtmlToPdf.MaxConcurrentTaskCount

 

Replicate the issue and check the most recent ActionsExecution.log file from C:\ProgramData\Solarwinds\Logs\Orion:

2016-04-27 13:50:11,275 [87] WARN  SolarWinds.Orion.Core.Actions.Utility.WebPageFetcher - We failed just on 0 attempt to export into pdf. We will try to export again.
2016-04-27 13:50:11,275 [87] INFO  SolarWinds.Orion.Core.Actions.Utility.WebPageFetcher - ExportToPdfCmd Exporting...
2016-04-27 13:50:41,478 [87] ERROR SolarWinds.Orion.Core.Actions.Utility.WebPageFetcher - FAIL: Convertion failed. All workers are busy. Please
increase HtmlToPdf.MaxConcurrentTaskCount.EO.Pdf.HtmlToPdfException: Convertion failed. All workers are busy. Please increase HtmlToPdf.MaxConcurrentTaskCount.
---> System.Exception: All
workers are busy. Please increase HtmlToPdf.MaxConcurrentTaskCount.

 

  1. Go to C:\Program Files (x86)\SolarWinds\Orion\SolarWinds.Orion.Core.BusinessLayer.dll.config, copy and paste the file to the desktop so that you have a backup of the original file and can roll back the change if necessary.
  2. Take note of the default values:
    <add key="NavigationTimeout" value="00:08:00" />
    <add key="ConversionDelay" value="00:00:10" />
    <add key="MaxConcurrentTaskCount" value="30" />
    <add key="ConversionRetries" value="2" />

       Change to:
    <add key="NavigationTimeout" value="00:60:00" />
    <add key="ConversionDelay" value="00:01:00" />
    <add key="MaxConcurrentTaskCount" value="50" />
    <add key="ConversionRetries" value="5" />

  3. Click Start > All Programs > SolarWinds Orion > Advanced Features > Orion Service Manager and restart SolarWinds services.

In NPM 12.0, you can access some of the settings for Export to PDF from the Orion Web Console.

  1. Open the Orion Advanced Configuration by changing the Web page URL:
    {OrionWebsite}/Orion/Admin/AdvancedConfiguration/Global.aspx 
  2. When this page opens, scroll down to the ExportToPDFCmd.ExportToPDFSettings :-
  3. If the document that is being converted is very large, it may be necessary to increase the Conversion or Navigation timeout.
  4. Save the changes, restart services if prompted on the page, and test the export function again.


Failed to convert Url

 

ERROR SolarWinds.Orion.Core.Actions.Utility.WebPageFetcher - FAIL: EO.Pdf.HtmlToPdfException: Failed to convert Url 'http://SERVERNAME:80/Orion/Report.as...cae24cec7fa'.(404:The server has not found anything matching the requested URI

 

  1. Run the Configuration wizard as administrator:
    a. Click Start.
    b. Enter Configuration wizard in the Search box.
    c. Right-click and select Run as administrator.
  2. Select Website.
  3. Click Next until you reach the Website Configuration section. 
  4. Clear the Skip HTTP Binding box. 
  5. Select All Unassigned from the drop-down list. 
  6. Complete the wizard. 

 

Unable to convert page to pdf

 

While running a report in report scheduler, it displays an error:

'Unable to convert page to PDF'.

 

Change the domain user account to Orion local account in the Report Scheduler:

  1. Open Orion Web Console > Report > Click the report / Or the target page to have in PDF format through email.
  2. Copy the URL.
  3. Start > All Programs > SolarWinds Orion > Alerting, Reporting and Mapping > Report Scheduler.
  4. Click Add to create a New Report Scheduler Task.
  5. Name the Task, and click Continue.
  6. Paste the URL in Add a link to a Web Report or Page field.
    • When creating a Report Scheduler Task, you must use an Orion Individual Account (NOT DOMAIN).
    • Change the login format for this account from Domain\Username to Username@Domain. This ensures that the reports run correctly for the account and the PDF generation is successful.
  7. Continue and Complete the Task.
Last modified

Tags

Classifications

Public