MS12-060: Difference between revisions

From Wiki for The Only Sheet
Jump to navigation Jump to search
No edit summary
Line 15: Line 15:
===If on a 64-bit machine, type the following:===
===If on a 64-bit machine, type the following:===


regsvr32.exe /u  C:\Windows\SysWOW64\MSCOMCTL.OCX
<tt>regsvr32.exe /u  C:\Windows\SysWOW64\MSCOMCTL.OCX</tt>


Hit ENTER
Hit ENTER.


then type
Then type:
<tt>regsvr32.exe  C:\Windows\SysWOW64\MSCOMCTL.OCX</tt>


regsvr32.exe  C:\Windows\SysWOW64\MSCOMCTL.OCX
Hit ENTER.
 
Hit ENTER


===If on a 32-bit machine, type the following:===
===If on a 32-bit machine, type the following:===


regsvr32.exe /u C:\Windows\system32\MSCOMCTL.OCX
<tt>regsvr32.exe /u C:\Windows\system32\MSCOMCTL.OCX</tt>
 
Hit ENTER


then type
Hit ENTER.


regsvr32.exe C:\Windows\system32\MSCOMCTL.OCX
Then type:
<tt>regsvr32.exe C:\Windows\system32\MSCOMCTL.OCX</tt>


Hit ENTER
Hit ENTER.


Your Office program should work again after doing this.
Your Office program should work again after doing this.

Revision as of 10:44, 12 January 2013

reference

"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