MS12-060: Difference between revisions
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2012/08/15/quot-unspecified-automation-error-quot-after-applying-ms12-060.aspx | '''NOTE''': Some people found that the Microsoft solution proposed below does not works and have come up with an alternative fix [http://www.fmsinc.com/MicrosoftAccess/controls/mscomctl/ here]. | ||
[http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2012/08/15/quot-unspecified-automation-error-quot-after-applying-ms12-060.aspx Reference] | |||
="Unspecified Automation Error" after applying MS12-060= | ="Unspecified Automation Error" after applying MS12-060= | ||
Line 15: | Line 17: | ||
===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: | |||
<tt>regsvr32.exe C:\Windows\SysWOW64\MSCOMCTL.OCX</tt> | |||
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. | |||
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. |
Latest revision as of 22:45, 25 November 2013
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