If you recently uninstalled Outlook 2013 or Outlook 2016 or have a problem with your Outlook installation then you may encounter the following error messages:
Unable to cast COM object of type ‘Microsoft.Office.Interop.Outlook.ApplicationClass’ to interface type ‘Microsoft.Office.Interop.Outlook._Application’.
This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{00063001-0000-0000-C000-000000000046}’ failed due to the following error: Interface not registered (Exception from HRESULT: 0x80040155).
The root issue is that their is a problem with the Outlook installation Common Object Model (COM) interface where the version reference for the TypeLib entry set by the Outlook installation is pointing to a incorrect value/version or that version does not point to a correct location. The following steps should help correct the most common cause of this issue issue. If you continue to have issues then you may need to reinstall Microsoft Outlook. Repairing the Outlook installation does not fix this issue so a reinstall is suggested.
Even after running through reinstallation or repairing of Outlook/Office it didn’t fix for us, so after researching through google we came across solution listed on GitHub Wiki by Paul Woolcock
Source: 0x80040155 – Interface not Registered
Solution:
This can be a particularly nasty problem. Follow through the steps:
Register Ole32.dll
Make sure part of Microsoft Office (the Ole32.dll
file that is located in the %windir%\System32
folder) is registered correctly in the Windows registry:
- 1. Click
Start
, and then typeCommand Prompt
, in appeared list, right-clickCommand Prompt
and selectRun as Administrator
- 2. In Command Prompt window type the following command and press Enter
- For 32 bit Windows:
regsvr32.exe %windir%\System32\Ole32.dll
- For 64 bit Windows:
%systemroot%\SysWoW64\regsvr32.exe %windir%\SysWoW64\Ole32.dll
- For 32 bit Windows:
- 3. In the
RegSvr32
dialog box, clickOK
.
Then follow the 3 steps through below from fix the interface to ensure MSOUTL.LIB is registered (the final step usually being the most important).
Registry Fixes:
Step through the following sections.
It is always wise to backup your Windows registry before making any manual changes.
Outlook Version Numbers
Use this table as a reference as guided in the following sections.
Outlook | Version |
---|---|
Outlook 2003 | 9.2 |
Outlook 2007 | 9.3 |
Outlook 2010 | 9.4 |
Outlook 2013 | 9.5 |
Outlook 2016 | 9.6 |
1. Fix the Interface
- 1. Access the Windows Registry Editor via
Start
>Run
> TypeCmd
andEnter
> TypeRegEdt32
andEnter
. - 2. Navigate to each of the keys that exist (depends on if using the 32 or 64 bit version of Outlook/Windows):
HKEY_CLASSES_ROOT\Interface\{00063001-0000-0000-C000-000000000046}\TypeLib
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WOW6432Node\Interface\{00063001-0000-0000-C000-000000000046}\TypeLib
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Classes\Interface\{00063001-0000-0000-C000-000000000046}\TypeLib
- 3. Find a
(Default)
entry with the value{00062FFF-0000-0000-C000-000000000046}
- 4. Compare and correct the
Version
value against the Outlook version numbers table.
2. Fix the TypeLib
- 1. Navigate to
HKEY_CLASSES_ROOT\TypeLib\{00062FFF-0000-0000-C000-000000000046}
- 2. Delete the version keys (e.g.
9.5
) for any version of Outlook that is not installed on your system, based on the version table provided.- For example, if you are not using Outlook 2013 then remove the
9.5
entry. If you are not using Outlook 2010 then remove the the9.4
entry. - DO NOT DELETE the entry for the version that was specified in the last step of the previous fix the interface section.
- For example, if you are not using Outlook 2013 then remove the
MSOUTL.LIB
is Registered
3. Ensure - 1. In the previous fix the typelib section, make sure that the registry key value ending with
MSOUTL.OLB
is pointing to a valid file location. The key location should be something likeHKEY_CLASSES_ROOT\TypeLib\{00062FFF-0000-0000-C000-000000000046}\9.6\0\Win64
- 2. We now need to make sure that file is properly registered.
- 1. Download regtlibv12.exe to your computer
- 2. Go the Windows Start Menu and type
cmd
. - 3. In the search results, right-click
cmd.exe
and selectRun as Administrator...
- 4. Change directory to where you downloaded
regtlibv12.exe
, eg:cd %USERPROFILE%\Downloads
- 5. Execute the following command, where
<msoutl.olb file>
is the value taken from step #3:
regtlibv12.exe "<msoutl.olb file>"
.
For example:
regtlibv12.exe "C:\Program Files\Microsoft Office\root\Office16\MSOUTL.OLB"
- 3. Run Outlook.
Enjoyed reading the article above , really explains everything in detail,the article is very interesting and effective.Thank you and good luck for the upcoming articles. If any issue regarding canon printer error then visit https://www.canonprintersupport247.com/blog/how-to-fix-canon-printer-1403-error/
Thanks Erica for your comment, and thanks for sharing the link to your article 🙂
Amazing! Thanks! It worked!
Awesome, thanks for visiting the site 🙂
Thank you soooo much. I have been dealing with this problem for 6 months and was never able to get it fixed until now. Again, thank you so much for your awesome solution.
Awesome, thanks for visiting the site 🙂
Thanks for the detailed explanation. Worked like a charm.
Awesome, thanks for visiting the site 🙂
Your work is really looking good,I suggest that you take the help of Software development India to develop a software, helping you with the designing work. Also, read this blog Toshiba command prompt written by Arthur max.
Website: https://www.toshibasupport365.com/blog/how-to-resolve-toshiba-command-prompt/
It works. Thanks a ton to you. May God bless you…
Awesome, thanks for visiting the site 🙂
It works.Y ou saved me while I was drowning… Thank u so much!
Awesome, thanks for visiting the site 🙂
Amazing, It worked thank you
Awesome, thanks for visiting the site
Thanks!