Apache OpenOffice (AOO) Bugzilla – Issue 76734
Using OpenOffice.org under COM+
Last modified: 2013-02-07 21:51:36 UTC
I'm trying to get OpenOffice.org to run under COM/DCOM for use on an unattended server. To do this I create a Component Package under COM+. It works fine. However if I change the user from the Interactive User (me) to a named user (also me) then I start getting errors when I try to create an instance of the Service Manager. "Retrieving the COM class factory for component with CLSID {82154420-0FBF-11D4- 8313-005004526AB4} failed due to the following error: 80080005." [Server execution failed] I know the documentation for OpenOffice.org says that the identity of the service manager must be set to “Interactive User”. However it doesn't explain why and it shouldn't be necessary. I enclose a simple test case to demonstrate the issue.
Created attachment 44718 [details] Test Case
changed component
Noel, I think that's nothing you want to dive in. :-) Changing owner to jl.
Please everyone feel free to send in patches or recommend solutions.
I got the same error and want to know if somebody has any idea how to fix it. The wired thing is at some point back in early September 2010 it worked. I didn't touch it for a while until user sent me the error recently. So I uninstalled and installed OpenOffice again, Set the service in Port 8100. Did everything I could. Checked all the permissions on server. No luck so far. my environment: Windows Server 2003 SP2. The OpenOffice version is 3.2.1. I am using the .NET web application to access OpenOffice to convert single .doc or dcox to pdf. To code is like this Type tServiceManager = Type.GetTypeFromProgID("com.sun.star.ServiceManager", true); //Create a new ServiceManager Com object using our //ServiceManager type object object oServiceManager = System.Activator.CreateInstance (tServiceManager); The error is pointing to creatInstance line. I am thinking what changes has been made on the server could possibly caused this failure. What can I do to fix it. Any help will be greatly appreciated.