Failed to retrieve component with CLSID {000209ff-0000-0000-c000-000000000046} in COM class factory

Source: Internet
Author: User

Recently doing a project, need to browse the Word document on the Web page, to find an example online, but called the word component times this error:

Failed to retrieve component with CLSID {000209ff-0000-0000-c000-000000000046} in COM class factory

Find a solution on the Internet, you need to add a configuration item in the Webconfig, and then you need to add the user to the rights management of the Microsoft-word service in the component service.

Then it can be used normally.

It was nothing, but the configuration items inside the webconfig need to expose the user name and password of the machine. It's not always safe.

I summed up the various methods on the Internet, after trying to find, do not need to add configuration items can also. The steps are as follows:

1, Control Panel-"Management tools-" Component Services-"computer-" My Computer-"DCOM configuration-" found Microsoft word97-2003 documentation
2. Right-click Properties to open the Properties dialog box for this application.
3. Click the Security tab, select custom in the launch and activation permissions and access permissions groups, and then add the Everyone user, edit- and assign all permissions to the Everyone user.
4. Click the Identity tab to select the Interactive user

5. Click OK to close the DCOMCNFG

Then you can, the key is to add the Everyone account in the third step, to manually assign so permissions, I was just because the account was added, not assigned to the ownership limit, so it cannot be used.

Failed to retrieve component with CLSID {000209ff-0000-0000-c000-000000000046} in COM class factory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.