Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error HRESULT E_FAIL has been returned from a call to a COM component when doing Insert/Update

Status
Not open for further replies.

bryan1207

Programmer
Mar 7, 2018
28
PH
We've created an WEB API to create Orders. But when doing multiple calls on POST to create Orders we got an error:

c# said:
Error HRESULT E_FAIL has been returned from a call to a COM component
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at AccpacCOMAPI.AccpacViewClass.Update()

And

c# said:
Error HRESULT E_FAIL has been returned from a call to a COM component
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at AccpacCOMAPI.AccpacViewClass.Insert()

When checking the fullstack error: vOEORDH.Insert() and vOEORDH.Update()
Also when checking the session.errors it's just: Error HRESULT E_FAIL has been returned from a call to a COM component

But when we post a single call then wait for interval, we are not receiving that error. But in real scenario, they should have concurrent or multiple calls for POST to create Orders.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top