RibbonBar - FileNotFoundException

3 posts, 0 answers
  1. GlenP
    GlenP avatar
    2 posts
    Member since:
    Nov 2005

    Posted 30 Nov 2006 Link to this post


    When I create a new project, add the Telerik references, and then put a Ribbon bar on my main form and run the program I get an exception throw when the QuickAccessMenuHeight is set (designer generator code).  The exception and a stack trace are below.  What am I missing?


    "A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll

    Additional information: Could not load file or assembly 'Telerik.WinControls.XmlSerializers, Version=, Culture=neutral, PublicKeyToken=5bb2a467cbec794e' or one of its dependencies. The system cannot find the file specified.

         mscorlib.dll!System.Reflection.Assembly.InternalLoad(System.Reflection.AssemblyName assemblyRef, System.Security.Policy.Evidence assemblySecurity, ref System.Threading.StackCrawlMark stackMark, bool forIntrospection) + 0xd4 bytes   
         mscorlib.dll!System.Reflection.Assembly.Load(System.Reflection.AssemblyName assemblyRef) + 0x1a bytes   
         System.Xml.dll!System.Xml.Serialization.TempAssembly.LoadGeneratedAssembly(System.Type type = {Name = "XmlTheme" FullName = "Telerik.WinControls.XmlTheme"}, string defaultNamespace = null, out System.Xml.Serialization.XmlSerializerImplementation contract = null) + 0xb0 bytes   
         System.Xml.dll!System.Xml.Serialization.XmlSerializer.XmlSerializer(System.Type type = {Name = "XmlTheme" FullName = "Telerik.WinControls.XmlTheme"}, string defaultNamespace = null) + 0x111 bytes   
         System.Xml.dll!System.Xml.Serialization.XmlSerializer.XmlSerializer(System.Type type) + 0x7 bytes   
         Telerik.WinControls.dll!Telerik.WinControls.ThemeSource.ReloadThemeFromStorage() + 0x26e bytes   
         Telerik.WinControls.dll!Telerik.WinControls.ThemeSource.OnThemeLocationChanged(Telerik.WinControls.RadPropertyChangedEventArgs e) + 0x37 bytes   
         Telerik.WinControls.dll!Telerik.WinControls.ThemeSource.OnThemeLocationChanged(Telerik.WinControls.RadObject d, Telerik.WinControls.RadPropertyChangedEventArgs e) + 0x3e bytes   
         Telerik.WinControls.dll!Telerik.WinControls.RadObject.OnPropertyChanged(Telerik.WinControls.RadPropertyChangedEventArgs e) + 0x53 bytes   
         Telerik.WinControls.dll!Telerik.WinControls.RadObject.UpdateEffectiveValue(Telerik.WinControls.RadProperty dp = {Telerik.WinControls.RadProperty}, Telerik.WinControls.RadPropertyMetadata metadata, bool isCoerceValue, bool isOldValueValid, object oldValue, Telerik.WinControls.ValueSource oldValueSource, bool oldValueIsDeferred, bool coerceWithDeferredReference) + 0x34c bytes   
         Telerik.WinControls.dll!Telerik.WinControls.RadObject.SetValueCommon(Telerik.WinControls.RadProperty dp, object value = "Telerik.WinControls.UI.Resources.RibbonBarThemes.Telerik.xml", Telerik.WinControls.RadPropertyMetadata metadata, bool coerceWithDeferredReference) + 0x2e7 bytes   
         Telerik.WinControls.dll!Telerik.WinControls.RadObject.SetValue(Telerik.WinControls.RadProperty dp, object value) + 0x54 bytes   
         Telerik.WinControls.dll!Telerik.WinControls.ThemeSource.ThemeLocation.set(string value) + 0x2f bytes   
         Telerik.WinControls.dll!Telerik.WinControls.ThemeResolutionService.RegisterThemeFromStorage(Telerik.WinControls.ThemeStorageType storageType, string themeLocation) + 0x50 bytes   
         Telerik.WinControls.UI.dll!Telerik.WinControls.UI.RadRibbonBarElement.RadRibbonBarElement() + 0x71 bytes   
         [Native to Managed Transition]   
         [Managed to Native Transition]   
         Telerik.WinControls.UI.dll!Telerik.WinControls.UI.RadRibbonBar.CreateChildItems(Telerik.WinControls.RadElement parent) + 0x20 bytes   
         Telerik.WinControls.dll!Telerik.WinControls.RadControl.EnsureChildItems() + 0x62 bytes   
         Telerik.WinControls.UI.dll!Telerik.WinControls.UI.RadRibbonBar.QuickAccessMenuHeight.set(int value = 20) + 0xd bytes   

  2. Chris
    Chris avatar
    221 posts

    Posted 01 Dec 2006 Link to this post

    Hi Glen,
    We tried to reproduce this problem and we couldn't. Could you please give us some more information about whether you set some additional properties (except the QuickAccessMenuHeight property). Are you trying to run the RibbonBar control with some of its default themes or you have created a custom theme?
    Thanks in advance for helping us find the problem.

    All the best,
    the telerik team
  3. DevCraft R3 2016 release webinar banner
  4. GlenP
    GlenP avatar
    2 posts
    Member since:
    Nov 2005

    Posted 02 Dec 2006 Link to this post

    Hi Chris,

    I reinstalled the rad controls from the setup. I no longer have the problem.
    I tried a few things that I thought might have been the cause of the problem but I am no longer able to reproduce it.

    If it happens again I will let you know.

Back to Top