Embedded skins assembly not found from GAC

3 posts, 0 answers
  1. Giovanni
    Giovanni avatar
    37 posts
    Member since:
    Feb 2011

    Posted 18 Sep 2012 Link to this post

    Hello,
    I'm trying to develop a web part for SharePoint 2010 that use the Telerik controls.
    I would like to deplay all the Telerik assembly in GAC, but I have a problem. When I run my application I receive this error (in the SharePoint 2010 logs):

    System.InvalidOperationException: Telerik.Web.UI.RadFormDecorator with ID='RadFormDecorator1' was unable to find an embedded skin with the name 'Simple'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false. 

    I don't use custom skins, but only default skins. If I put the assembly Telerik.Web.UI.Skins.dll in the SharePoint 80\bin directory, the web part works fine. Anyway I don't want to put the skin assembly on the bin folder because I can't support multiple version of the Telerik components and I don't know if the the destination SharePoint have already a Telerik version installed.

    How can I fix this problem? Can I load the skin assembly from GAC?

    Thanks
  2. developer1
    developer1 avatar
    2 posts
    Member since:
    Sep 2012

    Posted 19 Sep 2012 Link to this post

    Hi there,
    Although our exception-message differs slightly, we are facing the same problems.

    Our Webpart should be activated on a SharePoint 2010 Server where old Telerik-Assemblies are already used by a thrid-partie-feature.

    SharePoint loads both assemblies into its application pool according to the resourcemonitor, but our ComboBox isn't able to access it correctly.

    Telerik-Version used by our component: 2012.2.724.35
    Telerik-Version used by third-partie component: 2011.2.915.35

    Our Exception:
    Unexpected System.InvalidOperationException: Telerik.Web.UI.RadComboBox with ID='ConfigComboBox' was unable to find an embedded skin with the name 'Metro'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false.    bei Telerik.Web.SkinRegistrar.GetEmbeddedSkinAttributes(ISkinnableControl control, Type controlType, Boolean designTime)     bei Telerik.Web.SkinRegistrar.RegisterCssReferences(ISkinnableControl _control)     bei Telerik.Web.UI.RadComboBox.OnPreRender(EventArgs e)     bei System.Web.UI.Control.PreRenderRecursiveInternal()     bei System.Web.UI.Control.PreRenderRecursiveInternal()     bei System.Web.UI.Control.PreRenderRecursiveInte... 4b18b689-2a6f-4485-99cc-0aa8c2eb63f3...

  3. Giovanni
    Giovanni avatar
    37 posts
    Member since:
    Feb 2011

    Posted 20 Sep 2012 Link to this post

    Hello,
    I've resolved the problem in my enverinment.
    The problem was pretty stupid: the skins assembly wasn't in the GAC.

    Thanks
Back to Top