We are using poppler's pdftohtml exe to convert pdf to html. When we running it through flask then it working properly. But once we deploy on IIS then it is throwing below error at the time of using subprocess for pdftohtml.exe in event viewer.
Faulting application name: pdftohtml.exe, version: 0.0.0.0, time stamp: 0x5e08ef38 Faulting module name: ntdll.dll, version: 6.3.9600.19678, time stamp: 0x5e82c88a Exception code: 0xc000007b Fault offset: 0x00000000000ecf40 Faulting process id: 0x2b08 Faulting application start time: 0x01d686ac57ca0b65 Faulting application path: C:\HOLDSPROD\poppler-0.84.0-h1affe6b_0\Library\bin\pdftohtml.exe Faulting module path: C:\Windows\SYSTEM32\ntdll.dll Report Id: 961fde3c-f29f-11ea-80f0-000d3aa29228 Faulting package full name: Faulting package-relative application ID:
From python we are using subprocess to open the cmd.exe and passing the parameters to poppler's exe. Same issue for pdftoppm.exe(to convert from pdf to image).
Note: This application is wrapped with .net and we have deployed the application on IIS 7.
Any help is appreciated.
User contributions licensed under CC BY-SA 3.0