Solution: An error hresult e_fail is returned for calling COM components.

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.

Use XP

 

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, add inbound and outbound rules.
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.

 

 

 

According to my understanding, this is generally because there areProgramOr the service cannot be shut down normally, and its operation permission is higher than the account currently in use (SYSTEM account and COM + component)

Start-run-services. MSC to view the started project. Stop the project with the description empty, and check the file path for some anti-virus software.
Start-run-msconfig, go to startup project, disable all, retain ctfmon and anti-virus software.

we recommend that you use 360 security guard to repair the system. Fault, speed, Trojan, system vulnerability, virus, and other comprehensive effects. Common solutions:
1. Solve the Problem of messy files (reduce the computer burden ).
there are three methods to clear messy files. The first is to click "Tools" on the webpage, "Internet Options (0)", and then click "delete cookies (I)" on the new page) "" delete file (f) "" Clear history (h) ", and finally" OK "; the second is to use" Disk Cleanup ", point the mouse to the program-accessories-system tools-and the "Disk Cleanup" is displayed. All disks C, D, and E must be cleaned (mainly system disk C ), the third is to "Clear disk fragments". Point the mouse to the program-accessories-System Tools-to display the "Clear disk fragment program", which is mainly used to sort out the system disk C, it usually takes one to two hours or more. These three methods can be used independently. They can effectively clear all temporary files that are not saved on the webpage. Useful system files and installed and saved files are not cleared. The first or second method works better with the third method, which can significantly improve the computer speed.
2. Solves the impact of malicious rogue software and malicious rogue plug-ins.
except for the software you downloaded and the Code installed, the main purpose is to forcibly install the software into the computer. The purpose is to interfere with the operating system and affect the normal operation of the program. The "Disk Cleanup" cannot be used to clear the software, but the anti-virus software cannot find it, using the rstar card assistant, Qihoo 360, Master cleanup, Trojan scavenger, and other anti-virus software configuration assistants, the system optimization function and system protection function can be used to effectively remove malicious rogue software, malicious rogue plug-ins, and Trojans. As long as they are cleaned frequently, the computer will not be affected.
3. system repair. vulnerabilities in the operating system are often detected because of malware, malicious rogue plug-ins, and viruses, timely repair of the system can not only smooth the operating system, but also reduce the chances of malicious rogue software, malicious rogue plug-ins, viruses, and other computer access.
4. Update the virus database frequently and upgrade the antivirus service. Do not keep the virus on your computer for a long time. Select advanced settings to discover the virus, files cannot be isolated, files cannot be deleted, and viruses cannot be stored on the computer and eliminated in time.
5. computer viruses are inevitable. In order to reduce the trouble of reinstalling the system, you must "Restore with one click" when installing the system ". One-click recovery is the backup of the operating system, which is usually set when the system is installed, that is, to ensure the health of the operating system. When the computer encounters serious problems such as virus removal, program disorder, and slow speed, the computer will be restored to a healthy and normal system at any time to ensure normal operation.

 

 

 

 

 

[Question]

Open "Management Tools"-> "component services"-> "computer" today. The dialog box remains suspended. The "component services" window cannot be closed, and other programs run normally, only the task manager can be used to end the process.

 

[Solution]

Go to Google and provide the solution:

 

You can use the task manager to restart the dllhost.exe process, and then open "component service" to solve the problem.

Sometimes you need to use the "attribute" in "My Computer" of "component service", but sometimes "my computer" is displayed as a red sign, you cannot open "attribute" because MSDTC in "service" is faulty.
Solution:
Run-> cmd
Write down MSDTC-Uninstall in sequence in the window
MSDTC-install
Net start MSDTC

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.