ASP. NET calls the word development environment normally, and IIS reports an error

Source: Internet
Author: User

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

There are many feasible solutions:
Http://www.blogchinese.com/user1/53009/archives/2006/excel.shtml

The main points are:
1. Run dcomcnfg and find the applicationProgram, Set properties: Keep security as default and mark as interactive user
2. In the security field of the global tab in the default configuration, you must add the following users to access and start security:
System
Interactive
Everyone
Administrators
IUSR _ <machinename> *
IWAM _ <machinename> *

Experience:
1. In the DCOM configuration dialog box, click the Default Security tab.
2. In fact, there is no need to add so many users, as long as an ASPnet user is added, it is more secure.
3. Experiment on the local machine based on the principle of minimal open permissions, as long as you have local permissions for asp net development.

 

Supplement (10.5.12)

If none of them works, you can only change "Interactive User" to "Administrator.

Reference: http://www.cnblogs.com/andy1016/archive/2010/02/21/1670498.html

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.