Retrieving the factory COM class for a component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 8000401a.
We get the above error from our production server, which is hosted in a SharePoint farm environment, where it cannot reproduce the same problem from our staging server, which is a stand-alone server.
I hope that the above error will throw when the Microsoft.Office.Word component is accessible from a remote machine. I updated all the users in the "Launch and Activation Permissions" section of DCOMConfig, as indicated in Extracting the factory COM class for a component with CLSID error: 8000401a
Interestingly, the problem was resolved automatically when the user clicks the Create Report button on my web page. I understand that the problem seems to happen sometimes, because we cannot predict when it will be thrown.
source share