Bug 140638 - Cannot use LibreOffice 7.1.0 via OLE on Windows Server 2016
Summary: Cannot use LibreOffice 7.1.0 via OLE on Windows Server 2016
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.1.0.3 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-24 10:36 UTC by Emin Borbor
Modified: 2024-01-25 14:11 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emin Borbor 2021-02-24 10:36:48 UTC
Description:
My application is a windows service and creates the documents and spreadsheets for web users. I have been using LibreOffice via Microsoft OLE. (com.sun.star.ServiceManager) It works without any problems on Windows server 2012 R2 and Windows server 2019.

For the reason of the Office365 document format I switched to LibreOffice 7.1.0 recently. With LibreOffice 7.1.0 my application does not work on Windows server 2016, process just hangs.

Thank you in advance

Steps to Reproduce:
1.Run the app on Wİndows server 2016
2.
3.

Actual Results:
Process hangs.

Expected Results:
Should generate a docx file.


Reproducible: Always


User Profile Reset: No



Additional Info:
With the previous version (LibreOffice 6) it was running on any Windows server versions (2012,2016 or 2019).
Comment 1 Emin Borbor 2021-03-11 10:20:13 UTC
Last week we have upgraded production server to Window Server 2019 and this bug is not occurring any more as I explained in the description.
Comment 2 cpohle 2021-08-20 15:22:24 UTC
Maybe this is related:

We're running an application that calls LO Writer via OLE like this (code from Sybase PowerBuilder):

	OleControl	loc_Object
	...
	loc_Object.ObjectData = loc_Object.InsertClass( "LibreOffice.WriterDocument.1" ).ObjectData
	loc_Object.Activate( OffSite! )

Up to LO 7.0.6, this works seamlessly. However, since 7.1.x, the application throws a Windows error:

	Error no. 298, Too many posts were made to a semaphore.

Any idea what has changed from 7.0.x to 7.1.x that might cause this error?
Comment 3 cpohle 2024-01-25 14:11:45 UTC
(In reply to cpohle from comment #2)
> Maybe this is related:
> 
> We're running an application that calls LO Writer via OLE like this (code
> from Sybase PowerBuilder):
> 
> 	OleControl	loc_Object
> 	...
> 	loc_Object.ObjectData = loc_Object.InsertClass(
> "LibreOffice.WriterDocument.1" ).ObjectData
> 	loc_Object.Activate( OffSite! )
> 
> Up to LO 7.0.6, this works seamlessly. However, since 7.1.x, the application
> throws a Windows error:
> 
> 	Error no. 298, Too many posts were made to a semaphore.
> 
> Any idea what has changed from 7.0.x to 7.1.x that might cause this error?

This still occurs with LO 24.2 RC2.