Due to the following errors, the CLSID is the COM class factory for components of {000209FF-0000-0000-C000-000000000046}: 8000401A

Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 8000401a.

We get the above error from the production server hosted in the SharePoint farm environment, because the same problem cannot be reproduced from the staging server as a standalone server.

I hope, when from a remote machine When accessing the Microsoft.Office.Word component, the above error will be thrown. I have updated all users under “Start and Activation Permission” in DCOMConfig mentioned in Retrieving the COM class factory for component with CLSID Error: 8000401a< /p>

Interestingly, when users keep clicking on the “Report Generation” button in my webpage, the problem is automatically resolved. I understand this problem seems to happen occasionally, because we can’t predict when this will be thrown Problem.

I found a solution,

Use DCOMCNFG .exe to open it and go to Component Services -> Computer -> My Computer -> DCOM Configuration -> Check the Microsoft Office Word option and select the tab Security. Here you will get the option to launch and activate permissions -> select Custom and Click Edit and add the user who will run your application with full access.

That’s all, this solved my problem, this will help.

Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 8000401a.

We support from the SharePoint farm environment The production server managed to get the above error because the same problem cannot be reproduced from the staging server as a standalone server.

I hope that when accessing the Microsoft.Office.Word component from a remote machine, the above error will be Throw. I have updated all users under “Start and Activation Permissions” in DCOMConfig mentioned in Retrieving the COM class factory for component with CLSID Error: 8000401a.

Interestingly, when users keep When I clicked the “Report Generation” button on my webpage, the problem was automatically resolved. I understand that this problem seems to happen occasionally, because we cannot predict when this problem will be raised.

I found the solution,

Open it with DCOMCNFG.exe and go to Component Services -> Computer -> My Computer -> DCOM Configuration -> Check Microsoft Office Word options and select the tab Security. Here you will get the option of launch and activation permissions -> select Customize and click Edit, then add the user who will run your application with full access.

That’s all, this solved my problem, this will help.

Leave a Comment

Your email address will not be published.