Network Management
Unable to convert a web page to PDF in Report Scheduler
The default timeout for completing the conversion of a web page to .pdf using Orion Report Scheduler with the Retrieve a Printable Version of this Page option enabled is three (3) minutes. Some larger reports may take a significant period of time to complete conversion, and in a default configuration, the following error displays if it takes longer than three (3) minutes to complete the conversion: Unable to convert the Web Page to PDF Error: Could not generate the PDF document. Could not render
First published date
Last published date
Overview
The default timeout for completing the conversion of a web page to .pdf using Orion Report Scheduler with the Retrieve a Printable Version of this Page option enabled is three (3) minutes. Some larger reports may take a significant period of time to complete conversion, and in a default configuration, the following error displays if it takes longer than three (3) minutes to complete the conversion:
Unable to convert the Web Page to PDF Error: Could not generate the PDF document. Could not render the url. Could not get image from url.Navigation timeout. +++++++++ 2020-01-20 12:05:06,018 [49] ERROR ReportingLogger - (null) Error during fetching url: http://OrionServer-IPAddress/Orion/TrafficAnalysis/NetflowIPAddressGroupDetails.aspx?viewid=202&NetObject=NG:9;I:12089;T:Last%207%20Days;FD:Both using HTML type System.Net.WebException: The remote server returned an error: (403) Forbidden. at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadString(Uri address) at System.Net.WebClient.DownloadString(String address) at SolarWinds.Orion.Core.Actions.Impl.Email.EmailUrlExecutor.BuildReportingMailMessage(ISmtpClient smtpClient, EmailConfiguration config, ReportingActionContext reportingContext)
Product section
Resolution
RESOLUTION
Verify if the schedule report is connected to the appropriate website id into the report Jobs table. If the affected report schedule is not linked to the correct website id please follow the following steps:
- Create a backup of Orion Database
- Stop all services using the Start, Stop, or Restart Orion Services with the Orion Service Manager
- Open Database Manager (Default location: C:\Program Files (x86)\SolarWinds\Orion\DatabaseManager.exe)
- Execute the following query:
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production, or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation. DECLARE @WebID INT; SET @WebID = (SELECT TOP 1 WebsiteID FROM Websites WHERE Type = 'primary') -- Update rows in table 'ReportJobs' UPDATE ReportJobs SET WebsiteID = @WebID WHERE WebsiteID <> @WebID
- Start all services using the Start, Stop, or Restart Orion Services with the Orion Service Manager