Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Prevent various Office v.X errors Apps
It seems that a multitude of problems in MS Office v. X can be fixed by deleting a single file in the user preferences before launching the MS app:
 ~/Library/Preferences/Microsoft/Office Registration Cache X
Here are the things fixed so far:
  • Launching Visual Basic editor crashing MS Word.
  • Turning 'record' on in applescript crashing MS Word.
  • Using AppleScript to run a 'do script' command directed at an MS app.
  • 'Object library not registered' errors when opening some MS Excel documents (which don't even have any extra VBA code in them).
Clearly all these errors are VBA related, so I'd bet that deleting this file could even fix the 'random MS Word quitting' bug.

[Editor's note: I've had the occasional Word quit error, so I just deleted this file ... I'll post a comment back after I've had more time with Word running to see if the random quits are gone.]
    •    
  • Currently 3.00 / 5
  You rated: 1 / 5 (4 votes cast)
 
[27,352 views]  

Prevent various Office v.X errors | 12 comments | Create New Account
Click here to return to the 'Prevent various Office v.X errors' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
move rather than delete?
Authored by: tomem on Nov 15, '02 04:36:02PM

Isn't it a good idea to move such a file where it won't be found rather than deleting it?



[ Reply to This | # ]
move rather than delete?
Authored by: mervTormel on Nov 16, '02 08:51:30AM


a better technique is to rename it in place so that it:

a) doesn't loose context

b) isn't found by name by the apps

e.g.:

rename ~/Library/Preferences/Microsoft/Office Registration Cache X

to ~/Library/Preferences/Microsoft/Office Registration Cache X.disabled

worked here. a new file was created on launching excel, .disabled file remains.

this technique works for just about everything since unix is based on files and file names



[ Reply to This | # ]
Deleted it and Happy
Authored by: yan.nl on Nov 16, '02 08:05:12AM

I just deleted the whole Office X folder.
I try to live without it ... :-)

o ... before anyone asks, I just use Appleworks
and it's going steady 'till now



[ Reply to This | # ]
Crash Log
Authored by: bjast on Nov 16, '02 11:58:41AM

While we on this subject can anyone add an insight to this portion of a Word generated crash log? So some unknown reason I've seeing far more of these lately, but only when quitting Word X.

Date/Time: 2002-10-31 14:54:28 -0800
OS Version: 10.2.1 (Build 6D52)
Host: Bill

Command: Microsoft Word
PID: 360

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x22d40009

Thread 0 Crashed:
#0 0x90223df4 in GetHandleSize
#1 0x00dfaad4 in 0xdfaad4
#2 0x00dfa9f4 in 0xdfa9f4
#3 0x00dfa930 in 0xdfa930
#4 0x00dfa8ac in 0xdfa8ac
#5 0x002c2b9c in 0x2c2b9c
#6 0x00218460 in 0x218460
#7 0x00216fd0 in 0x216fd0
#8 0x00f7e39c in 0xf7e39c
#9 0x00f7e188 in 0xf7e188
#10 0x00f7e09c in 0xf7e09c
#11 0x00f7ca8c in 0xf7ca8c
#12 0x00dd1e18 in 0xdd1e18
#13 0x00dd1d1c in 0xdd1d1c
#14 0x92ba25b4 in DispatchEventToHandlers
#15 0x92ba291c in SendEventToEventTargetInternal
#16 0x92ba5d28 in SendEventToEventTargetWithOptions
#17 0x92bb2134 in

There's plenty more if anyone cares to read it.



[ Reply to This | # ]
Crash Log
Authored by: Likos on Nov 20, '02 02:25:10PM

First check the permissions of the files you are trying to open.
Make sure you are the owner. If that doesn't work try changing the permissions of Office X
u-rwx, g-rwx, o-rwx

Sometimes I can't execute programs when the permissions are not right.
(Even as admin)Quicken is notorious on my machine for doing this.



[ Reply to This | # ]
Lock it
Authored by: adriaant on Nov 16, '02 10:24:30PM

The following is what I do: delete the old Registration file, then create a new empty one with the same name, obviously. Get Info on it and lock the file. That way, MS can never create a new one or overwrite it.



[ Reply to This | # ]
Lock it
Authored by: chort on Aug 30, '04 01:49:10PM

This hint is absolutely brilliant. I registered just so I could reply to this!

Oh, it should go without saying, but it works great. It solved my Excel issues with Object Library not Registered.



[ Reply to This | # ]
Helped me with Excel
Authored by: claudio on Dec 01, '02 02:38:07AM

It helped me getting rid of "Error loading a DLL" after upgrading to Office:mac SR2
I remember doing this earlier in OS 9 as well, but I did not pay that much attention to the files in my OS X Library folder yet.
But thanks so far.



[ Reply to This | # ]
Prevent various Office v.X errors
Authored by: david_be on Oct 08, '03 12:43:26PM

Thanks to you!!!!!

I have no more problem with "Objects Library not registered"

:)

---
Yours,
David



[ Reply to This | # ]
Prevent various Office v.X errors
Authored by: guysab on Apr 05, '04 05:03:57PM

Thanks, this really cleared-up my "Object library not registered" errors in Excel.x.

I've noticed that the first application I run after deleting the registration cache is important. I've had good results with running Excel and Word first. If I run Entourage first after deleting the cache, some problems in Excel.x simply reappear.

B.T.W. I've tried uninstalling and reinstalling Office.X, including all preferences files, and the results are the same as deleting the registration cache. I haven't figure out why the problem keeps popping back every few months, but at least, flushing the cache is a lot easier!



[ Reply to This | # ]
Prevent various Office v.X errors
Authored by: launchpad on Oct 07, '04 08:08:35PM

Found link to this hint on Google. Saved my butt. Thanks



[ Reply to This | # ]
Prevent various Office v.X errors
Authored by: dsewell on Oct 18, '04 11:01:59AM

Likewise! This also cleared up the same problem for me with Office 11.

---
David Sewell
White Hall, Virginia



[ Reply to This | # ]