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

Last Reply 5 months ago By dharmendr

Posted 5 months ago

Hi All,

I created a DLL in VS2015 which is reading PDF. I am consuming this DLL via WebAPI.

But I am getting below error which creating a object to read PDF:

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

Below the line of where I am getting error :

BaseReader reader = new TextReaderWrapper<FilterReader>(new FilterReader(fileName), chunkSize);

 

You are viewing reply posted by: dharmendr 5 months ago.