From 6f02f9718ab7cae8a87be4848502dec338cb8a3e Mon Sep 17 00:00:00 2001 From: sameerkhan001 Date: Tue, 7 Oct 2025 18:57:52 +0530 Subject: [PATCH 1/2] 983942-ug: Added the below details in the html to pdf trouble shooting section --- .../HTML-To-PDF/NET/troubleshooting.md | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md b/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md index 41f8e0e98..31f0f81f5 100644 --- a/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md +++ b/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md @@ -476,6 +476,44 @@ Refer to this Issue + +HTML to PDF conversion fails after deploying to Azure Function (Windows and Linux).
+Error Message:
+“Could not find a part of the path '/home/site/wwwroot/runtimes/linux/native'” + + + +Reason + +The Syncfusion HTML-to-PDF converter internally uses the Blink rendering engine, which relies on a headless Chromium browser to render HTML content. On Linux environments, Chromium requires several native dependencies to launch successfully.
+ +In the Azure Function Linux Flex Consumption Plan, these dependencies cannot be installed due to the following limitations: + +* No SSH access to manually install packages.
+* Shell script installation attempts fail due to permission restrictions, even when permissions are explicitly set.
+ +As a result, the Blink-based converter cannot initialize Chromium, leading to failure in HTML-to-PDF conversion. + + + + +Solution + +To enable HTML-to-PDF conversion using Blink in Azure Functions:
+ +* Do not use the Flex Consumption Plan for Linux-based Azure Functions.
+* Instead, use one of the following:
+1.Premium Plan
+2.Standard Consumption Plan (Windows)
+These plans provide the necessary environment and permissions to support Chromium and its dependencies, allowing the Blink engine to function correctly.
+ + + + ## Unable to convert unsecured https URL to PDF using Blink From 0ce7a417b20a2bb011def9dfa9ceebc0c7c72f41 Mon Sep 17 00:00:00 2001 From: sameerkhan001 Date: Tue, 7 Oct 2025 19:29:52 +0530 Subject: [PATCH 2/2] 983942-ug: Updated proper details. --- .../PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md b/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md index 31f0f81f5..480910a21 100644 --- a/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md +++ b/Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md @@ -476,16 +476,13 @@ Refer to this Issue - - @@ -508,7 +505,7 @@ As a result, the Blink-based converter cannot initialize Chromium, leading to fa * Do not use the Flex Consumption Plan for Linux-based Azure Functions.
* Instead, use one of the following:
1.Premium Plan
-2.Standard Consumption Plan (Windows)
+2.Standard Consumption Plan
These plans provide the necessary environment and permissions to support Chromium and its dependencies, allowing the Blink engine to function correctly.
HTML to PDF conversion fails after deploying to Azure Function (Windows and Linux).
-Error Message:
-“Could not find a part of the path '/home/site/wwwroot/runtimes/linux/native'” +
HTML to PDF conversion fails after deploying to Azure Function Linux Flex Consumption Plan
Reason