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

hello 

i had those errors

Unexpected Error:
An unexpected problem has occurred. Please try again or contact your administrator for assistance.

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

when i try to localhost/Sage300 to access Sage. I try all solutions you gave like read and write users iurs and iis_iusrs, restart iis, restart sql service, etc.. i always have the same problem. can you help me please