-
Notifications
You must be signed in to change notification settings - Fork 87
Description
Hello,
Our application is hosted in Azure withing Azure App Services. I deployed the ServerJS.zip file to an Azure App Service and have it up and running. However, when running the test options, I am running into issues exporting to PDF and PNG. Power point is working. I had to make one change to the appsettings.json file to set the temp path but other than that I have done nothing else.
I get the following errors:
PDF Export Error:
An error occurred trying to start process 'c:\home\temp\balkan\export\chrome\Chrome\Win64-132.0.6834.83\chrome-win64\chrome.exe' with working directory 'C:\home\site\wwwroot'. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at PuppeteerSharp.States.ProcessStartingState.StartCoreAsync(LauncherBase p) in /home/runner/work/puppeteer-sharp/puppeteer-sharp/lib/PuppeteerSharp/States/ProcessStartingState.cs:line 68
at PuppeteerSharp.Launcher.LaunchAsync(LaunchOptions options) in /home/runner/work/puppeteer-sharp/puppeteer-sharp/lib/PuppeteerSharp/Launcher.cs:line 77
at PuppeteerSharp.Launcher.LaunchAsync(LaunchOptions options) in /home/runner/work/puppeteer-sharp/puppeteer-sharp/lib/PuppeteerSharp/Launcher.cs:line 110
at Services.ExportService.DoPuppeteerWorkSync(String dir, String type, ExportOptions options, AppConfiguration config) in C:\Development\TFS\balkan.app\BALKAN\serverjs.balkan.app\Services\ExportService.cs:line 354
at Services.ExportService.ToPDF(ExportOptions options) in C:\Development\TFS\balkan.app\BALKAN\serverjs.balkan.app\Services\ExportService.cs:line 218
at Controllers.ExportController.TestPDF() in C:\Development\TFS\balkan.app\BALKAN\serverjs.balkan.app\Controllers\ExportController.cs:line 230
PNG Export Error:
An error occurred trying to start process 'c:\home\temp\balkan\export\chrome\Chrome\Win64-132.0.6834.83\chrome-win64\chrome.exe' with working directory 'C:\home\site\wwwroot'. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at PuppeteerSharp.States.ProcessStartingState.StartCoreAsync(LauncherBase p) in /home/runner/work/puppeteer-sharp/puppeteer-sharp/lib/PuppeteerSharp/States/ProcessStartingState.cs:line 68
at PuppeteerSharp.Launcher.LaunchAsync(LaunchOptions options) in /home/runner/work/puppeteer-sharp/puppeteer-sharp/lib/PuppeteerSharp/Launcher.cs:line 77
at PuppeteerSharp.Launcher.LaunchAsync(LaunchOptions options) in /home/runner/work/puppeteer-sharp/puppeteer-sharp/lib/PuppeteerSharp/Launcher.cs:line 110
at Services.ExportService.DoPuppeteerWorkSync(String dir, String type, ExportOptions options, AppConfiguration config) in C:\Development\TFS\balkan.app\BALKAN\serverjs.balkan.app\Services\ExportService.cs:line 354
at Services.ExportService.ToPNG(ExportOptions options) in C:\Development\TFS\balkan.app\BALKAN\serverjs.balkan.app\Services\ExportService.cs:line 246
at Controllers.ExportController.TestPNG() in C:\Development\TFS\balkan.app\BALKAN\serverjs.balkan.app\Controllers\ExportController.cs:line 256
Thank you,
Chad