Solution: An error hresult e_fail is returned for the COM component call.

Source: Internet
Author: User
Tags create domain

Part 1

When the shdocvw (Web browser) COM component is called, The hresult e_fail is returned. Summary:

1. Enable the Distributed Transaction Coordinator service on the Control Panel> Administrative Tools> service.
2. open Control Panel ---> Administrative Tools ---> component services ---> select computer ---> my computer ---> right-click Properties ---> select MSDTC ---> select Security Configuration check the allow in the Transaction Manager communication outbound, allowed inbound, and not required for verification.
As shown in:

Restart IIS

The preceding operations can solve the problem of hresult e_fail.

Above use XP, switch from http://community.studyez.com/blogs/zbinbo/archive/2007/08/22/com-hresult-e-fail.aspx

 

Part 2

The operations in section 2008 are as follows (roughly the same, I wrote this myself. For more information, see the source)

1. Start ---> Administrative Tools ---> in the service, enable the Distributed Transaction Coordinator service.

2. start ---> Administrative Tools ---> Local Security Policies ---> Advanced Security Windows Firewall-Local Group Policy object ---> right-click Properties ---> Allow outbound and allow inbound.
The above is mainly used for programming to create Domain Users and Configure permissions for NTFs folders. Of course, it can also be done manually. Since this line of software is done, it is not better to use programming, and it is more suitable. The younger brother is also learning to achieve something, and interested friends can communicate with each other.

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.