trying to run existing application with RadRibbonWindow in Win8... Aero2 error

8 posts, 1 answers
  1. Christopher
    Christopher avatar
    3 posts
    Member since:
    May 2012

    Posted 11 Jul 2012 Link to this post

    I am trying to run an existing application in the debugger on a Windows 8 machine to prepare for the future, and I am getting the following errror on the constructor of the RadRibbonWindow:

    Could not load file or assembly 'Telerik.Windows.Controls.RibbonView.Aero2, Version=2012.2.607.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.

    I cant find any reference to Aero2 in either the RadRibbonWindow or RadRibbonView assemblies.  Can anyone tell me what is causing this and how to fix it?
  2. Christopher
    Christopher avatar
    3 posts
    Member since:
    May 2012

    Posted 11 Jul 2012 Link to this post

    Well, it appears that if I turn off transparency in Windows 8, my application will run, but it doesn't show the buttons in the rt corner (min, max, close), and it still acts like there will be errors in code.  

    It seems that it has something to do with how it looks for aero in windows?


    EDIT:  I have to retract the above -- It seems that i made 2 changes, I also told it not to alert me on file.io exceptions, and that is the real reason it started working.  Turning transparency back on still allows it to open, although i still have incorrect chrome, and the close/minimize/maximize button group is not visible.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Answer
    Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 12 Jul 2012 Link to this post

    Hello Christopher,

    I cannot reproduce this issue both with enabled and disabled transparency. About the second issue with the incorrect chrome it is already resolved and will be available in the internal build next week.

    Greetings,
    Viktor Tsvetkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  5. Christopher
    Christopher avatar
    3 posts
    Member since:
    May 2012

    Posted 12 Jul 2012 Link to this post

    The error about aero2 happens when you have the debugger set to break on all errors Debug > Exceptions.... Common Language Runtime Exceptions > System.IO > System.IO.FileNotFoundException.

    I try to run with these on to be able to identify where there may be issues in the application for a user at any time in the future.  With that exception turned off, the application runs fine (minus the issue with the window chrome).

    Thanks for your response. I look forward to the release next week.
  6. Robert
    Robert avatar
    271 posts
    Member since:
    Mar 2011

    Posted 30 Dec 2012 Link to this post

    I have a similar issue in VS2012 using the latest telerik release.

    Exception: Could not load file or assembly 'Telerik.Windows.Controls.RibbonView.Aero2, Version=2012.3.1129.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. Invalid pointer (Exception from HRESULT: 0x80004003 (E_POINTER)

    I'm trying to create a RadRibbonTab as a UserControl

    <telerik:RadRibbonTab x:Class="TAS2.RibbonMenuItems.CustomersTab"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                 xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                 mc:Ignorable="d"
                 Header="Customers">
        <telerik:RadRibbonGroup Header="General">
        </telerik:RadRibbonGroup>
    </telerik:RadRibbonTab>
  7. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 02 Jan 2013 Link to this post

    Hi Robert,

    We have logged this issue for further investigation and you can track its progress in our PITS. However, as it is hard for us to reproduce it locally, we'll greatly appreciate your help for that. Can you please take a look at the attached sample and let me know if you can reproduce this exception in it? If you can, please send over the steps you follow and/or a screencast demonstrating them.

    Thank you in advance for your cooperation.

    Regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  8. cman
    cman avatar
    3 posts
    Member since:
    Jul 2011

    Posted 05 Mar 2013 Link to this post

    I receive the error with the sample provided.  My environment is Win8 Pro, VS2012. 

    The error throws silently unless DEBUG > EXCEPTIONS... are checked.
  9. Stefan
    Admin
    Stefan avatar
    89 posts

    Posted 06 Mar 2013 Link to this post

    Hello cman,

    Thank you for the provided information. I tested the project on a machine with OS windows8 and I was able to reproduce the bug. On the other hand on windows7 the project runs without this exception. Also I updated the bug description and renamed it, and now it can be found under the name - "RibbonView: System.IO.FileNotFoundException thrown when application runs on window8 with all exceptions enabled in VS".

    All the best, Stefan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
UI for WPF is Visual Studio 2017 Ready