MS12-060
NOTE: Some people found that the Microsoft solution proposed below does not works and have come up with an alternative fix here.
"Unspecified Automation Error" after applying MS12-060
by Will Buffington Date: 15 Aug 2012 3:24 PM
MS12-060 is a security update that was released Tuesday, August 14, 2012. This update replaced MS12-027. There was a known issue with MS12-027 that caused you to need to remove EXD files in order to resolve an error. While a Fixit solution was released for MS12-027 (http://support.microsoft.com/kb/2703186) you may now be seeing "Unspecified Automation Error" when running your Microsoft Office VBA code after installing MS12-060.
The fix for this problem is to re-register MSCOMCTL.OCX. To do this, follow these steps:
Step #1
Open an administrative-level command prompt (i.e. an Elevated Command Prompt). If you do not use an Elevated Command Prompt, you risk getting the 0x80004005 error when registering the file below.
Step #2
If on a 64-bit machine, type the following:
regsvr32.exe /u C:\Windows\SysWOW64\MSCOMCTL.OCX
Hit ENTER.
Then type: regsvr32.exe C:\Windows\SysWOW64\MSCOMCTL.OCX
Hit ENTER.
If on a 32-bit machine, type the following:
regsvr32.exe /u C:\Windows\system32\MSCOMCTL.OCX
Hit ENTER.
Then type: regsvr32.exe C:\Windows\system32\MSCOMCTL.OCX
Hit ENTER.
Your Office program should work again after doing this.
Back to Issues