Deploy and configure DCOM in Excel

Source: Internet
Author: User
Programming Excel is actually to call the Excel COM component through. NET Framework. All COM components that need to be called in the web environment need to be configured accordingly.
Many of my friends have reported that debugging a normal program in a Windows environment leads to errors in the Web environment. This step is missing.
The following describes the DCOM configuration process in detail.

1. Run "dcomcnfg" and open the DCOM configuration program. (Or start → set → Control Panel → Administrative Tools → Component Services → computer → my computer → DCOM configuration)


2. In the Application List, find "Microsoft Excel application" and click "properties". If no attribute is found under 2003, patch SP2.
 

3. Set "authentication level" on the "General" tab to "NONE ".
 

4. Select "use custom configuration permission" on the "Security" tab and click "edit ".

5. In the displayed dialog box, add "Internet Guest user" (generally IUSR _ machine name) and set the access type to "full control ".
 

6. Set the user on the "Identity" tab to "Interactive User ".

7. Click "application" to close the property page and DCOM configuration program. Configuration complete

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.