Windows7 with Window2008 64-bit IIS7 above DCOM configuration Excel, Word

Source: Internet
Author: User
Tags administrator password

Workaround: 1. (Applies to. NET) 1). Add the administrator privilege through Webconfig, <identity impersonate= "true" username= "system Administrator" password= "system Administrator Password"/> 2). This will enable you to start the application process, Excel, create new Excel, export Excel, but still not open the server-side Excel file

2. (The following applies to all languages) in Component Services, DOCM sets the properties of Microsoft Excel application because it is operating on a 64-bit system, and the default in Component Services docom is not, because Microsoft Excel applicat Ion is a 32 DCOM configuration and is therefore resolved as follows (see step three)

3. (Add 32Bit of Management of Excel, Word, etc. in DCOM management in 64bit System) 1). Start--〉 run--〉cmd 2) at the command prompt, enter "mmc-32" and open the 32 console 3). File menu, add Delete snap-in--    "Component Services" (at the bottom), after confirmation, close. 4). Start-management tools-Component Services, in DCOM configuration, you can find the "Microsoft Excel application". Locate the Microsoft Excel application, right-click on it, and then tap properties to bring up the Microsoft Excel Application Properties dialog box 5). Click on the "Identification" tab and select "Interactive User" * * : This is not required on the 32Bit 2003 or XP, but it is needed here. 6). Click on 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 start" and Local Activation permission 7). 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.

4. Restart IIS

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.