hresult e_fail error

  • Does anybody know about this error;

    Error HRESULT E_FAIL has been returned from a call to a COM component. (Microsoft Visual Studio)

    I was trying to use a query in oledb source through "Sql commang from a variable"

    "select * from test where load_tmstp = "+@v1""

    (@v1 has the value of sysdate, datatype is datetime)

    Thanks

  • I hope you are aware that an interop is a .net assembly that routes calls from a .net application to a COM component. It does not contain the COM component. The COM component must exist on the machine.

    In your case I guess the COM component that you are referencing gets installed with windows messenger/live messenger. If it does not exist on the target machine, you'll get the error you are getting.

    More on interops

    http://msdn.microsoft.com/en-us/library/aa302338.aspx

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply