Failed to retrieve components whose CLSID is {00024500-0000-0000-c000-000000000046} in the com class factory because of the following error: 80070005.

Source: Internet
Author: User

The answer for searching a post from the Internet is roughly the same: the user logging on to the website has no operationExcel. EXE permission

Run "input dcomcnfg.exe to start" component service ". You can also enter it from the management tool,

"Component Service"-> "computer"-> "my computer"-> "DCOM configuration"-> find the word-> properties-> "ID" tag, select "Interactive User"

-> Security "tag"-> click "Custom" on "Start and activate Permissions", and then click the corresponding "edit" button, in the pop-up "security" dialog box, add a "Network Service" user (note that you must select the computer name) and grant it the "local start" and "Local activation" permissions.

-> "Security" label, click "Custom" on "Access Permissions", and then click "edit ", in the pop-up "security" dialog box, add a "Network Service" user and grant "local access" permission. in this way, we have configured the corresponding Excel DCOM permissions.

 

Note: The 64-bit system cannot find the reason for the office component service:

The main problem is the 64-bit system. Excel is a 32-bit component, so it cannot be seen in normal system component services.
You can enter comexp. MSC-32 in the run to open the 32-bit component service, and then you can see the Excel component in it.

 

 

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.