Apache OpenOffice (AOO) Bugzilla – Issue 122810
Tools-Options-OpenOffice-Security-Macro security crashes OpenOffice 4.0.0 under Vista
Last modified: 2014-02-28 13:10:11 UTC
When I attempted to lower the default security setting under Tools-Options-OpenOffice-Security-Macro security, I get the message: "Due to an unexpected error, OpenOffice crashed. . . ." This occurred using the basic icon to open basic framework, and also from withing Text Document and Spreadsheet. This occurred under Windows Vista OS, but NOT under Win7 (64 bit) where operation was correct.
Duplicate of Bug 115523 and possible user profile problem?
(In reply to vitriol from comment #1) > Duplicate of Bug 115523 and possible user profile problem? This one is from 2010. It is likely that code and other things have changed a lot.
Got exactly the same problem under Vista Business 32-bit, not under XP SP3 Pro. What can I do next?
@David Koch @mb@audiomatica.com Is this a regression compared to 3.4.*?
I have the same problem. OS Windows 7 Prof. SP1 32 Bit.
Yes. I had installed 3.4.* on the same Vista machine and it worked. As I manage several workstations with several OSes and I need a Calc spreadsheet with macro to run, I remember in the past versions of OO a similar problem but I can't help exactly.... (In reply to Ariel Constenla-Haile from comment #4) > @David Koch > @mb@audiomatica.com > > Is this a regression compared to 3.4.*?
Setting REGRESSION keyword
Is there any workaround? I.e. is it possible to set the security level without pressing that damned button and crashing OO? :-) (In reply to Ariel Constenla-Haile from comment #7) > Setting REGRESSION keyword
(In reply to Mauro Bigi from comment #8) > Is there any workaround? > I.e. is it possible to set the security level without > pressing that damned button and crashing OO? :-) You have to change the configuration registry. Shutdown OpenOffice Locate the file registrymodifications.xcu inside the user directory ( The user folder is located in Documents and Settings\<your account>\AppData\Roaming\OpenOffice.org\3\. It is a hidden folder, you might need to set the explorer to show hidden files.) registrymodifications.xcu is a plain XML text, utf-8 encoded. You have to edit with a proper editor (NotePad might not work, NotePad++ is better). Before making any changes, do a back-up. Search in that file for MacroSecurityLevel. If you find it, change the value. If you don't find it, you have to add the configuration item: <item oor:path="/org.openoffice.Office.Common/Security/Scripting"> <prop oor:name="MacroSecurityLevel" oor:op="fuse"> <value>0</value> </prop> </item> <value>0</value> has the value 0 in this case. You can change it to: 0 = Lower 1 = Medium 2 = High 3 = Very high
It worked perfectly in my Vista machine which is now running my calc sheet properly. Thank you so much. (In reply to Ariel Constenla-Haile from comment #9) > (In reply to Mauro Bigi from comment #8) > > Is there any workaround? > > I.e. is it possible to set the security level without > > pressing that damned button and crashing OO? :-) > > You have to change the configuration registry. > Shutdown OpenOffice > Locate the file registrymodifications.xcu inside the user directory ( The > user folder is located in Documents and Settings\<your > account>\AppData\Roaming\OpenOffice.org\3\. It is a hidden folder, you might > need to set the explorer to show hidden files.) > > registrymodifications.xcu is a plain XML text, utf-8 encoded. You have to > edit with a proper editor (NotePad might not work, NotePad++ is better). > > Before making any changes, do a back-up. > > Search in that file for MacroSecurityLevel. If you find it, change the > value. If you don't find it, you have to add the configuration item: > > <item oor:path="/org.openoffice.Office.Common/Security/Scripting"> > <prop oor:name="MacroSecurityLevel" oor:op="fuse"> > <value>0</value> > </prop> > </item> > > <value>0</value> has the value 0 in this case. You can change it to: > > 0 = Lower > 1 = Medium > 2 = High > 3 = Very high
(In reply to Ariel Constenla-Haile from comment #9) > (In reply to Mauro Bigi from comment #8) > > Is there any workaround? > > I.e. is it possible to set the security level without > > pressing that damned button and crashing OO? :-) > > You have to change the configuration registry. > Shutdown OpenOffice > Locate the file registrymodifications.xcu inside the user directory ( The > user folder is located in Documents and Settings\<your > account>\AppData\Roaming\OpenOffice.org\3\. It is a hidden folder, you might > need to set the explorer to show hidden files.) > > registrymodifications.xcu is a plain XML text, utf-8 encoded. You have to > edit with a proper editor (NotePad might not work, NotePad++ is better). > > Before making any changes, do a back-up. > > Search in that file for MacroSecurityLevel. If you find it, change the > value. If you don't find it, you have to add the configuration item: > > <item oor:path="/org.openoffice.Office.Common/Security/Scripting"> > <prop oor:name="MacroSecurityLevel" oor:op="fuse"> > <value>0</value> > </prop> > </item> > > <value>0</value> has the value 0 in this case. You can change it to: > > 0 = Lower > 1 = Medium > 2 = High > 3 = Very high This Workaround works perfekt with Windows 7. Thanks
Confirmed, but with a manual workaround
The crash occurs only if you have taken your settings from an older Version of AOO. If you delete the registrymodifications.xcu (You will lost your individual settings) in the profilfolder an restart AOO then you can change the macrosecuritylevel.
Can anybody provide a registrymodifications.xcu that does crash OO?