Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 8000401a.
We are getting above said error from our production server which is hosted in SharePoint farm environment, where as not able to reproduce the same issue from our staging server which is standalone server.
I hope, the above said error will be throwing when Microsoft.Office.Word component accessing from remote machine. I've updated all users under "Launch and activation Permission" in DCOMConfig as mentioned in Retrieving the COM class factory for component with CLSID Error: 8000401a
The interesting here is, the issue has been resolved automatically when user keeps clicking on the "Report Generation" button in my web page. I understand the issue seems to be happened on occasionally as we cannot predicate when this will be thrown.
I found the solution,
using DCOMCNFG.exe open it and go to Component Service ->Computers->My Computer->DCOM Config-> check for Microsoft Office Word option and select tab Security.Here you will get the options for Launch and Activation Permission->select Customize and click on edit and the add the user that will runs your Application with full access.
That's all ,this resolve my problem hop this will help.