ER12149 - Component '???.ocx' not correctly registered: File is missing or invalid
Posted by Jane Hughes on 16 December 2025 05:29 PM

DVS: Windows OS Error. Look for Error 455 for ESENT in eventvwr. Solved via han
Also caused by controls not registered.

Use RegisterBatch.exe (SH 05/20)

Check DEP first of all.

See Jira SPM-538 for more information

Copied the Windows folder from C:\Users\incisive\WINDOWS folder (which had a
copy of comctl32.ocx and ComDlg32.ocx) to the other Users (they did not have a Windows folder.

May also be caused by Spmd_interopcontrols which need to be re-registered.
c:\spmwin\Regasm32 spmd_interopcontrols.dll /s /u /codebase

c:\spmwin\Regasm32 spmd_interopcontrols.dll /s /codebase

Copy comctl32.ocx and ComDlg32.ocx to \Windows\System32, and \Windows\SysWOW64

Then registered as follows (this was from the YouTube video and I think it was this that finally made it work):
cd\Windows\system32


regsvr32 %systemroot%\system32\comctl32.ocx

regsvr32 %systemroot%\system32\comdlg32.ocx

regsvr32 %systemroot%\SysWOW64\richtx32.ocx

regsvr32 %systemroot%\SysWOW64\comctl32.ocx

regsvr32 %systemroot%\SysWOW64\comdlg32.ocx