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

E_FAIL COM exception after adding toggle switch to the about page template

1 Answer 35 Views
ToggleSwitch
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mike
Top achievements
Rank 1
Mike asked on 19 Mar 2014, 10:13 PM
I used the about page template and wanted to add the RadToggleSwitch to it

I get this in Blend and VS 2013
Exception: Error HRESULT E_FAIL has been returned from a call to a COM component.
   at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.Collection_InsertValue[T](PresentationFrameworkCollection`1 collection, UInt32 index, CValue value)
   at MS.Internal.XcpImports.Collection_InsertDependencyObject[T](PresentationFrameworkCollection`1 collection, UInt32 index, DependencyObject value)
   at System.Windows.PresentationFrameworkCollection`1.InsertDependencyObject(Int32 index, DependencyObject value)
   at System.Windows.Controls.UIElementCollection.InsertInternal(Int32 index, UIElement value)     

In a clean project single page with the about page added this does not happen?

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 24 Mar 2014, 09:51 AM
Hi Mike,

This happens often when Visual Studio uses cached versions of the assemblies referenced in your project.

Did you try cleaning your project, closing VS, re-opening it again and rebuilding the project?

Let us know if this doesn't help.

Regards,
Deyan
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
ToggleSwitch
Asked by
Mike
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or