This is a migrated thread and some comments may be shown as answers.

COM Exception: HRESULT E_FAIL

6 Answers 161 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sanjay Patel
Top achievements
Rank 1
Sanjay Patel asked on 01 Sep 2008, 01:46 PM
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.

6 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 01 Sep 2008, 03:52 PM
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.
0
Sanjay Patel
Top achievements
Rank 1
answered on 01 Sep 2008, 04:45 PM

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.

0
Valeri Hristov
Telerik team
answered on 02 Sep 2008, 10:20 AM
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.
0
Sanjay Patel
Top achievements
Rank 1
answered on 02 Sep 2008, 07:54 PM
Hi Valeri,
I have raised a support ticket as per your suggestion and attached the sample code. The ticket ID is : 159443.
0
bill
Top achievements
Rank 1
answered on 12 Sep 2008, 08:43 PM
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. 
0
Valeri Hristov
Telerik team
answered on 15 Sep 2008, 07:18 AM
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.
Tags
ComboBox
Asked by
Sanjay Patel
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Sanjay Patel
Top achievements
Rank 1
bill
Top achievements
Rank 1
Share this question
or