Forum Discussion

sues0204's avatar
sues0204
Trusted Cover User
4 years ago

error trying to export report to excel 80010001 Call was rejected by callee

Hi, trying to export a report to excel - have done it hundreds of times before - but this morning getting error :

Creating an instance of the COM component with CLSID {00024500-0000-0000-c000-000000000046} from the IClassFactory failed due to the following error : 80010001 Call was rejected by callee (Exception from HRESULT:0x80010001(RPC_E_CALL_REJECTED)).

Have rebooted computer, and done a quick repair of excel.  (Office 365, lastest updates installed.  MYOB AccountRight Premier AU 2022.1.0 Build 2022.1.24.5785).

Hoping someone might be able to help?

 

Thank you.

2 Replies

Replies have been turned off for this discussion
  • sues0204's avatar
    sues0204
    Trusted Cover User
    4 years ago

    thank you Komal,

     

    I should have posted back - it took me a day or two to resolve, unfortunately I don't recall the details but it did involve changing a system setting on my computer.  Thank you though for your reply. 

  • Hi sues0204 

     

    The error "Creating an instance of the COM component " is an interop error meaning when a program such as AccountRight asks which version of Office/Excel is installed, the wrong version is being reported back, causing a communication problem and errors between the programs.

     

    This can happen when different versions of Office/Excel may have been previously installed on the computer, and components/values are left behind.

     

    There is a range of interop errors, these most often are fixed by one of the following:

     
    1. Quick Repair office. (any missing files should be added back), if it doesn't work, move to the next step.
    2. Re-install Microsoft Office. ( If this doesn't work either, please follow the next step).
    3. Re-Register DLL files and Check/Fix Registry Keys (there are 3 to complete)

    Step 3 would require an IT Professional as its an environmental issue, with windows having missing or incorrect information and this help article has similar instructions which might help: 

    https://webmakers.co.nz/interface-not-registered-exception-from-hresult-0x80040155-microsoft-office-...