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

Error HRResult E_Fail has been returned from a call to a Com Component

7 Answers 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vuyiswa
Top achievements
Rank 2
Vuyiswa asked on 01 Apr 2011, 08:54 AM
Good Day

I am using Silvelight Controls and there is reporting.when i try to add controls to my page from the toolbox i get the following error
Error HRResult E_Fail has been returned from a call to a Com Component

7 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 01 Apr 2011, 11:38 AM
Hello Vuyiswa Maseko,

Unfortunately, we were not able to determine what the problem is from the brief description that you have provided.

Could you share something more regarding this error?

All the best,
Ross
the Telerik team
0
Vuyiswa
Top achievements
Rank 2
answered on 01 Apr 2011, 11:50 AM
When i drag the and the controls to the page , i get a pop up with that message and no other message. The event Viewer is empty so no info. But if i keep on trying it end up adding the controls. it happens on certain controls not on all controls.
0
Rossen Hristov
Telerik team
answered on 01 Apr 2011, 12:01 PM
Hi Vuyiswa Maseko,

What specific controls that you are trying to add are giving this error?

What is the exact version of RadControls that you are using?

What is your Silverlight version?

What is the Visual Studio version?

Also, do you get the same error on another machine?

Have you tried re-installing the whole package to see whether it will resolve the issue?

Anything else that you consider relevant will be of great help for us to understand what is going on.

We are looking forward to hearing from you.

Kind regards,
Ross
the Telerik team
0
Vuyiswa
Top achievements
Rank 2
answered on 01 Apr 2011, 12:20 PM
hi Ross

What specific controls that you are trying to add are giving this error?

Tab Control

Reportviewer

RadSchedular.


I have attached an error that i now get

What is the exact version of RadControls that you are using?

its a new one version(2011.1.315.1040), we bought the Controls 3 days ago and we removed the trial and installed the new ones this morning. so we downloaded them the day we bought them

What is your Silverlight version?
4.0

What is the Visual Studio version?
2010

Also, do you get the same error on another machine?
i am the only one working on silverlight , so i am the only one who have it, but i will try to install it on another machine and see what happens

Have you tried re-installing the whole package to see whether it will resolve the issue?

i did not try , because the whole package takes time. i will try before i go home

Anything else that you consider relevant will be of great help for us to understand what is going on.

we had a full version of 2010 and we created the project with that  and we got a trial of 2011 and we installed them both on my machine and after we bought 2011 few days go , i uninstalled the 2011 trial and 2010 full and i installed 2011 alone in my machine. the tab controls is no longer moving to other tabs , so i cant view the contents of other tabcontrol items.

Thanks
0
Rossen Hristov
Telerik team
answered on 01 Apr 2011, 01:20 PM
Hi Vuyiswa Maseko,

Can you please take a look at this article.

Can you add references to the following assemblies in your Silverlight project:

  • Telerik.ReportViewer.Silverlight.dll
  • Telerik.Windows.Controls.dll
  • Telerik.Windows.Controls.Input.dll
  • Telerik.Windows.Controls.Navigation.dll
  • Telerik.Windows.Controls.Scheduler.dll
Does this resolve the problem?

All the best,
Ross
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Vuyiswa
Top achievements
Rank 2
answered on 01 Apr 2011, 01:43 PM
I have this assemblies, i have remove them and added them again. and i get some strange Errors on the xaml  . i have attached the two screenshots.

Thanks


0
Rossen Hristov
Telerik team
answered on 01 Apr 2011, 02:45 PM
Hello Vuyiswa Maseko,

Do you have all the needed assemblies added to the references, for example one of the errors says that you don't have Telerik.Windows.Controls.GridView? Do you have it added to your references?

When you see an error that Visual Studio cannot find something, you have to add the respective assembly (dll) to your project assembly references and make sure that the prefix that you use before them (i.e. telerik) has the correct entry on the top of the page.

When all of these are met -- your project will compile.

I have attached a sample project which you can examine and see how the things are done. I hope this helps.

In case you are completely lost and cannot make your project compile by any means, please send it to us and we will take a look at it.

Best wishes,

Ross
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Vuyiswa
Top achievements
Rank 2
Answers by
Rossen Hristov
Telerik team
Vuyiswa
Top achievements
Rank 2
Share this question
or