WINDOW2008 64-bit system cannot invoke Microsoft.Office.Interop component for file Save resolution

Source: Internet
Author: User

The server is a Windows server2008 64-bit system that requires Microsoft.Office.Interop components in your project, including Excel, Word, PPT, and so on.

Steps
1. In Start, run, enter Dcomcnfg.exe to start the Component Services
2. Double-click "Computer", "Component Services", "My Computer", "DCOM Configuration"
3. In the DCOM configuration, locate the Microsoft Excel application (including Word and PowerPoint, of course), right-click on it, and then tap properties to pop up the Microsoft Excel Application Properties dialog box
4. Click on the "Logo" tab and select "Interactive User"
5. Click on the "Security" tab, click "Customize" on "Launch and activation Rights", then click on the corresponding "edit" button to add a "NETWORK SERVICE" user in the "Security" dialog box (note to select the computer name), and give it "local launch" and "Local activation" Permissions
6. Remain the "Security" tab, click "Customize" on "Access", then click "Edit" and add a "NETWORK SERVICE" user to the "Security" dialog box that appears, then give "Local access" permission.

And when on a 64-bit version of a machine, because after you open DCOMCNFG, you can't find the item "Microsoft Excel application (Word and PowerPoint, of course) ", the following is the way to resolve
1. Run: mmc-32
2. Open "File"-"Add or remove Snap-in"-Select Component Services-click Add-OK.
3. Microsoft Excel application can be found in the DCOM component(Of course, Word and PowerPoint are included, and the next steps are set up as described above.

If you do not run after the settings above, IIS also needs to make the appropriate settings
Check again and the content is not finished setting.
Check the settings of the IIS7, and finally determine that you also need to set the identity of the application pool, the AppPool of this site to be set to LocalSystem or NetworkService, problem resolution.

WINDOW2008 64-bit system cannot invoke Microsoft.Office.Interop component for file Save resolution

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.