Unable to create an instance of Automation Server Microsoft Common Dialog Control, version 5.0 (SP2) with CLSID = f9043c85-f6f2-101a-a3c9-08002b2f49fb Retrieving the COM class factory for component with CLSID {F9043C85-F6F2-101A-A3C9-08002B2F49FB} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
Hi all, I was getting this error while I was trying to attach a file in Microsoft Dynamics NAV 2016, in Win



8, 10 or Win 11 64 bit despite registering comdlg32.ocx in System 32 and SysWOW64 folder and registering the same using
regsvr32 c:\Windows\system32\comdlg32.ocx and
regsvr32 c:\Windows\SysWOW64\comdlg32.ocx
I would like to share the solution or fix, please to to the installation directory of Dynamics NAV which is C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client, there is x86 or 32 bit exe run it as administrator and compatibility mode for Win8 if you check the property
Stay blessed,