Issues that Windows uses Excel to export

Source: Internet
Author: User

. NET under "Retrieving the CLSID in the COM class factory as {00024500-0000-0000-c000-000000000046" when you manipulate Excel and Word with Microsoft.Office.Interop.Excel and word }, the component failed because of the following error: 80070005 "error. Now in operation Microsoft.Office.Interop.Word For example, I am local Win7 + Office2007 environment

1: First install Word in Windows r2/win7/win2003/winxp/win2000 os. Then, in Component Services, locate "My Computer", "Computer", "Component Services", "DCOM Configuration". Run, enter Dcomcnfg.exe to start the Component Services.

2: Locate the Microsoft Office Word 97-2003 document in DCOM configuration, right-click on it, and then click Properties to bring up the Microsoft Excel Application Properties dialog box. If the environment is Windows R2, you may not find the "Microsoft Office Word 97-2003 document". You can run mmc-32 and then pop up a program, select Add/Remove Snap-in from the menu, add Component Services, and then locate word under Component Services and then configure the following. (Component cache directory c:\windows\assembly)

3: In the "Identification" tab, select "Interactive User"

4: In the "Security" tab, click "Customize" on "Launch and Activation Permissions", then click on the corresponding "edit" button to add a "NETWORK SERVICE" user in the "Security" dialog box (note To select this computer name) and give it "local launch" and "Local activation" Permissions.

5: In the "Security" tab, click "Customize" on "Access", then click "Edit", in the "Security" dialog box, also add a "NETWORK SERVICE" user, and then give "Local access" permissions

Issues that Windows uses Excel to export

Related Article

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.