Share via

SIlverlight app Error (Error HRESULT E_FAIL has been returned from a call to a COM component)

2021-06-18T15:31:02.913+00:00

We have a lot of Silverlight apps running, recently we acquired new computers and we have just one application failing in the new computers, this app is running good in all the computer except the new ones, any idea? One of the errors is Error HRESULT E_FAIL has been returned from a call to a COM component

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.


3 answers

Sort by: Most helpful
  1. Mahiquez Fuentes, Luis (ITD) 1 Reputation point
    2021-06-22T12:55:43.373+00:00

    Hi everyone, thanks for your response, I will try to explain better my issue. We have several applications running and working very good, all these applications are using Silverlight and all these applications are deployed in IIS, last week we purchase new computers and when we try to access from Internet Explorer to one of the applications we are receiving a lot of errors, so the issue is not about
    1.Clean the project and rebuild it.
    2. Close the project and go to its folder location and delete the bin and obj folders.
    3. Make sure that the reference assemblies in the project are in the same location. To do this, expand the references in the project and check each assembly path in the properties window.
    If you still encounter problems, please provide more project information and error messages.

    as @Daniel Zhang-MSFT mention I think that must be something about Internet Explorer options or compatibility, the wierd thing here is that all these applications are running good in more than 50 computers, just in the new computers we are having the issues, can you help me please???

    Was this answer helpful?


  2. Daniel Zhang-MSFT 9,661 Reputation points
    2021-06-21T02:05:45.547+00:00

    Hi MahiquezFuentesLuisITD-8771,
    Based on the information you provided, I cannot determine the specific cause of the error.
    I suggest you try the following:

    1. Clean the project and rebuild it.
    2. Close the project and go to its folder location and delete the bin and obj folders.
    3. Make sure that the reference assemblies in the project are in the same location. To do this, expand the references in the project and check each assembly path in the properties window.
      If you still encounter problems, please provide more project information and error messages.
      Best Regards,
      Daniel Zhang

    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

  3. Ken Tucker 5,866 Reputation points
    2021-06-20T10:41:16.93+00:00

    Really not enough info to help you solve your issue. Keep in mind silverlight is only supported in IE 11 until 10/12/2021

    https://support.microsoft.com/en-us/windows/silverlight-end-of-support-0a3be3c7-bead-e203-2dfd-74f0a64f1788

    If you look in IE developer tools does it show everything is loading?

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.