Error HRESULT E_FAIL has been returned from a call to a COM component

In this article, I will solve “Error HRESULT E_FAIL has been returned from a call to a COM component” that you may face in SharePoint Search error logs.


Error HRESULT E_FAIL has been returned from a call to a COM component

In SharePoint, I have performed a Full Crawl Search that has been finished properly, but I got this error

Error HRESULT E_FAIL has been returned from a call to a COM component

Error HRESULT E_FAIL has been returned from a call to a COM component

Cause

The SharePoint Web Application ASP.NET Impersonation status has been disabled.

Solution

  • Start > Administrative Tools > IIS Manager.
  • Navigate to the SharePoint web application >  Authentication > Select Asp.Net Impersonate > For Right side > below Actions > Click on Enable.
Disable ASP.Net Impersonation in IIS
  • Check also the impersonation settings in Web.Config.
Set Impersonate in SharePoint Web.Config
  • Go back to run Full Crawl Search that should be now working properly.

In case, you need to temporarily disable impersonation for a specicifc tasks in your SharePoint solution, you can do that as mentioned at Disable ASP.NET Impersonate using C#


Applies To

  • SharePoint 2016.
  • SharePoint 2013.
  • SharePoint 2010.
See Also

6 thoughts on “Error HRESULT E_FAIL has been returned from a call to a COM component”

  1. vijscuah@gmail.com

    I have learn some excellent stuff here. Definitely price bookmarking for revisiting. I wonder how a lot attempt you set to create any such fantastic informative site.

  2. With havin so much content do you ever run into any
    problems of plagorism or copyright infringement?

    My blog has a lot of unique content I’ve either written myself or outsourced but it seems a lot of it is popping it up all over the web without my permission. Do you know any techniques to help reduce content from being stolen? I’d truly appreciate it.

    1. indeed i don’t care if some one copy my unique content or not because my aim is to publish my knowledge for all through my blog or through others,regarding your quest you can print water mark on post images as brand for you also you can define visibility to specific people before you publish it. hope this info will help you and welcome to any questions
      Br,

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top