MSO.2005 is not registered for COM interop

Add-in Express™ Support Service
That's what is more important than anything else

MSO.2005 is not registered for COM interop
Excel plugin won't load 
Gerry Rempel




Posts: 15
Joined: 2009-02-05
Error 1 The assembly 'AddinExpress.MSO.2005, Version=8.7.4425.0, Culture=neutral, PublicKeyToken=4416dd98f0861965' is not registered for COM Interop. Please register it with regasm.exe /tlb. SwQuotes
Error 2 The assembly "D:\code\sw\excel\addexpress\SwQuotes\SwQuotes\bin\Debug\SwQuotes.dll" could not be converted to a type library. Type library exporter encountered an error while processing 'SwQuotes.Quote, SwQuotes'. Error: Error loading type library/DLL. SwQuotes

I've been getting this error ever since I upgraded my Add-in Express code. I'm using version 8.7.4425.0

What is the solution?

Thanks,
Gerry
Posted 16 Aug, 2017 18:37:04 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Gerry,

Please try to uninstall Add-in Express completely and install it again.
Posted 17 Aug, 2017 04:43:11 Top
Gerry Rempel




Posts: 15
Joined: 2009-02-05
Thanks, I did that and re-installed under Windows 10 running the installation as Administrator.

This time it built properly. It still took another 4 hours to get Excel to stop thinking that I had a bug in my application.

Thanks,
Gerry
Posted 17 Aug, 2017 15:06:53 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Gerry,

Thank you for keeping us informed.
Posted 18 Aug, 2017 03:55:55 Top
godfrey ho




Posts: 7
Joined: 2017-08-21
hi there,

I have similar issue after upgrading ADX to v807.4425 recently from v704.4067 as well, to prepare for making the existing Word addin Office 2016 (64 bits) compatible.

Having done the following:
1) uninstall ADX via right click Setup then re-install ADX as Administrator on the new Dev machine (win10);
2) Also tried made a copy of the source code project and did a unregister ADX Project in the old Dev machine (Win7). Then re-opening the copy in the new machine with v807.4425 installed and remove and add back the AddinExpress.MSO.2005, AddinExpress.Toolbar.2005 & AddinExpress.WD.2005 references

Similar error still came up when trying to clean then Register Project via Add-in Express Context Menu, or simply rebuild project:
"The assembly 'AddinExpress.MSO.2005, Version=8.7.4425.0, Culture=neutral, PublicKeyToken=4416dd98f0861965' is not registered for COM Interop. Please register it with regasm.exe /tlb.
The assembly "C:\solutions\int_word_2010_addins\trunk\src\Word at Allens-x64v5\Word at Allens\bin\Debug\Word at Allens.dll" could not be converted to a type library. Type library exporter encountered an error while processing 'WordatAllens.AddinModule, Word at Allens'. Error: Error loading type library/DLL."

I have also tried create a brand new ADX COM Addin for Word 2016 and when registering project the same AddinExpress.MSO.2005 is not registered for COM Interop error came up again.

By the way I am using Visual Studio 2010 Ultimate Version 10.0.3.30319.1 RTMRel and Target Framework is .NET Framework 4 (4.6.1586.0) with Platform Target set to Any CPU. Word 2016 Version is 16.0.4266.1003 64-bit, and My Win10 Dev VM is running Windows 10 Enterprise 10.0.14393.

Is there any other way I can overcome this error to compile my addin again?

regards,
Godfrey.
Posted 21 Aug, 2017 12:17:18 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
Hello Godfrey,

Make sure that no setup project you created deploys AddinExpress.MSO.2005.tlb. If you find such a setup project, uninstall the corresponding installer. Then reinstall Add-in Express and rebuild the projects.


Andrei Smolin
Add-in Express Team Leader
Posted 22 Aug, 2017 05:05:50 Top