App Muncher

Issues faced - solutions identified - shared with community.

Configuring a virtual account for OpenOffice is not very straight forward

You can do the followings to fix the permission issue

1. Launch component services (dcomcnfg.exe)

2. Go to Computers->My Computer->DCOM Config.

3. Scroll down and look for an application called "OpenOffice.org Service Manager".

4. Right click on the application, select Properties and go to the Security tab.

5. Set the Launch and Activation Permissions to Customize and then click on Edit.

6. Add your ASP.NET user (e.g IIS APPPOOL\DefaultAppPool or in fact the entire IIS_IUSRS group) and give it full permissions.

Note: This step is critical as most of the times app pool was not given permissions and it came up with issues for which i had no answers.

7. Repeat same for Access Permissions

OpenOffice keeps its configuration files in AppData\Roaming folder of Interactive user.e.g. in our case it is C:\Users\developer\AppData\Roaming\OpenOffice.org but there is no such folder for IIS Virtual Account. hence you need to fix OpenOffice configuration path


To fix the configuration path -

1. Open OpenOffice installation location e.g. C:\Program Files (x86)\OpenOffice.org 3\program ( you may have different location for your setup)

2. Open bootstrap.ini file and find UserInstallation key and update the path with correct value of your interactive user e.g. in our case it is - file:///C:/Users/developer/AppData/Roaming/OpenOffice.org/3

No comments:

Post a Comment

| Designed by AppMuncher