I have a .not web application that uses Office INTEROP to automate certain processes that run on the server. I'm aware that this is not recommended by Microsoft, but the solution had been working great for years now and I'm using it only in our Intranet. I'm now moving the solution from Windows Server 2012 to 2019 while Office keeps being version 2016.
When I run the application I get the (very well known) error: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
Usually this Error popped up after any Windows Update, as my customized component security settings would be eliminated on that occasion, so I'm pretty familiar to that error.
What is different now is the fact that I can't find any matching guid in the component list. Word has CLSID {00020906-0000-0000-C000-000000000046}... so there is a slight difference.
Any suggestions on how to handle this?