- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi!
I am having a problem with the code in my Revit Add-in. In the code I use the Microsoft.Office.Interop.Word to make some changes in a Word document and then save it. All this works perfectly on my machine and on other 4 test machines. For some reasons one of the users is getting an error:
With Revit 2021:
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
With Revit 2020:
Element not found (Exception from HRESULT: 0x8002802B(TYPE_E_ELEMENTNOTFOUND))
On one of the testing machines, the same error occured when Microsoft Offfice was not installed. After installing MS Office the Add-in works as expected.
In know this is not a typical Revit API issue, but maybe some of you already experienced the same error.
Any help would be appreciated.
Thank you
Corinne
Solved! Go to Solution.