Dear Leonardo,
Good Day. Thanks for your response.
We had tried with C:\Windows\Temp or blank but both were giving error. However I noticed that the component is always checking for folder Win64-706915 under .local-chromium and in our case the temp folder was created as Win64-637110 hence it was giving the error.
The old error was resolved after renaming Win64-637110 to Win64-706915. However now we are getting another error "http://hostname/UltimatePDFDemo/SampleReport01.aspx: Protocol error (IO.read): Invalid parameters handle: string value expected".
Please note that it is coming after updating LocalServerProtocol site property to "http", with blank i.e. https it gives the SSL certificate error "err_cert_common_name_invalid" As we don't have matching certificate in test environment and would like to make it work with http.
Below is the complete stack trace of the error and also the site property configuration
Protocol error (IO.read): Invalid parameters handle: string value expected
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at PuppeteerSharp.CDPSession.<SendAsync>d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at PuppeteerSharp.CDPSession.<SendAsync>d__29`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at PuppeteerSharp.Helpers.ProtocolStreamReader.<ReadProtocolStreamByteAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at PuppeteerSharp.Page.<PdfInternalAsync>d__171.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at OutSystems.NssUltimatePDF.Browser.BrowserExecutionContext.<PrintPDF>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at OutSystems.NssUltimatePDF.CssUltimatePDF.RunAsync[T](Func`1 async)
at OutSystems.NssUltimatePDF.CssUltimatePDF.MssPrintPDF(String ssURL, String ssTemporaryFolder, Int32 ssBrowserRevision, RCViewportRecord ssViewport, RCPaperRecord ssPaper, String ssSessionCookieDomain, Byte[]& ssPDF)
at ssUltimatePDF.RssExtensionUltimatePDF.MssPrintPDF(HeContext heContext, String inParamURL, String inParamTemporaryFolder, Int32 inParamBrowserRevision, IRecord inParamViewport, IRecord inParamPaper, String inParamSessionCookieDomain, Byte[]& outParamPDF)
