Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Accessing LibreOffice From IIS 10 Hangs on bootstrap

I have a VB.Net application that opens an ODT file, performs a number of replace operations then saves it as a PDF. When I try to use the same code under IIS 10 as a web service the call to bootstrap does not return. Process Explorer shows that soffice.exe and office.bin are in memory. I have to kill the two processes to continue.

I've tried various suggestions related to compiling the application in 32 bit or telling IIS to allow 32 bit applications. Those only produce other errors. I'm using the 4.6.2 dot net framework and the 6.2.5.2 x64 version of LibreOffice and SDK. I'm running Windows 7 on my development machine and have gotten the same results on Windows Server 2019.

What do I need?