Wednesday, May 8, 2013

The macro cannot be found or has been disabled while accessing BI publisher in MS Word

Recently I have installed XML publisher in my local client workstation.
When I open Microsoft word and try to access Oracle BI publisher I got below error













From different google sources below are two most common errors and how should Word be setup correctly

















Templates should correctly enabled
























Even after above 2 actions my issue is not solved.

Solution to above issue is

Solution 1:

Search for MSComctlLib.exd in your local drive and rename all the existence, such as MSComctlLib.exd_bak.

usually the file will occur in %USERPROFILE%Application Data\Microsoft\Forms or C:\Users\ramu\AppData\Roaming\Microsoft\Forms

now re-open microsoft word, this will create new file of MSComctlLib.exd  and try accessing BI publisher.
if above soltion doesnot solve your issue. try below

Solution 2:


For 64-bit operating systems, type the following in command prompt (Run command prompt as administrator, otherwise you will get error code 0x80004005): 

Regsvr32 "C:\Windows\SysWOW64\MSCOMCTL.OCX"

For 32-bit operating systems, type the following:

Regsvr32 "C:\Windows\System32\MSCOMCTL.OCX"

open the Microsoft word and access BI Publisher now.

1 comment:

Sergio EspĆ³sito said...

Option 1 has not been enough for me, but option 2 (32 bits) has worked

You have saved my life!!!!!

Thanks a lot!!!