COM Exception: HRESULT E_FAIL

7 posts, 0 answers
  1. Sanjay Patel
    Sanjay Patel avatar
    3 posts
    Member since:
    Aug 2005

    Posted 01 Sep 2008 Link to this post

    Expression Blend throws error: "HRESULT E_FAIL has been returned from a call to a COM component." when we try to add RadComboBox. I am using Telerik control beta 2, 26th Aug release with Expression Blend 2.5 June 2008 Preview. I believe, this issue was there with the last release too and with some other controls as well.
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 01 Sep 2008 Link to this post

    Hi Sanjay,

    I just created a new Silverlight 2 application in Blend, added references to the freshly downloaded RadControls assemblies and dropped several RadComboBox controls on the design surface without problems. Attached is a screenshot.

    Can you please double check that you are using the latest assemblies? They should be version 2008.02.0826.0. If possible, try to download the RadControls for Silverlight Beta 2 again. If this does not help, I will need a simple application, that demonstrates the problem. You cannot add attachments to forum threads, to send us the application, you will need to open a new support ticket from here:
    http://www.telerik.com/client.net/my-support-tickets/new-support-ticket.aspx

    Greetings,
    Valeri Hristov (Silverlight Team)
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Sanjay Patel
    Sanjay Patel avatar
    3 posts
    Member since:
    Aug 2005

    Posted 01 Sep 2008 Link to this post

    Hi Valeri,
    It is nice to see your quick reply. I tried following things as you suggested

    (a) I verified the assembly version and it is 2008.2.826.0.

    (b) I downloaded the controls again and now error message is changed to "Cannot create an instance of RadComboBox". (this is little strage as assemblies are same version)

    The exception stack trace shows TargetInvocationException, the inner exception is "Method not found: 'Void System.Resources.ResourceManager..ctor(System.String, System.Reflection.Assembly, Boolean)'".

    (c) Visual Studio is able to create instance of RadComboBox from the same set of assemblies, so I would believe assemblies are correct, it is only the Expression Blend which is failing due to some reason.

  4. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 02 Sep 2008 Link to this post

    Hi Sanjay,

    I suppose that there is something on the page that prevents RadComboBox from working properly. Are you using a custom control template? Can you send me a sample application, which demonstrates the problem? I will try to respond with a solution as soon as possible.

    Best wishes,
    Valeri Hristov (Silverlight Team)
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Sanjay Patel
    Sanjay Patel avatar
    3 posts
    Member since:
    Aug 2005

    Posted 02 Sep 2008 Link to this post

    Hi Valeri,
    I have raised a support ticket as per your suggestion and attached the sample code. The ticket ID is : 159443.
  6. bill
    bill avatar
    14 posts
    Member since:
    Sep 2008

    Posted 12 Sep 2008 Link to this post

    I am getting the same exact missingmethodexception.  I don't have any custom cotrols just a new project with a layout Grid.  I try to add the radpanelbar and the error is thrown. 
  7. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 15 Sep 2008 Link to this post

    Hi bill,

    The following forum thread contains an attachment, posted by me, that will resolve the problem. The official downloads area is also updated with the same assemblies. I am sorry for the inconvenience.

    http://www.telerik.com/community/forums/thread/b311D-bgatme.aspx

    Regards,
    Valeri Hristov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top