Telerik Reporting - Conflict with WPF projects

5 posts, 0 answers
  1. Bernd
    Bernd avatar
    8 posts
    Member since:
    Sep 2008

    Posted 19 Jan 2009 Link to this post

    Hi,

    I have a (small) problem in Visual Studio (Vista 64) which might be related to Telerik Reporting.

    Whenever I open or create a (VB or C#) WPF application, I get an  "Out of bounds" error when I open the Properties Dialog for the first time.

    Steps to reproduce this for C#:

    - Start VS
    - Create a new C# WPF application
    - DoubleClick on "Properties in the Solution Explorer
    - An error message is shown
    - The German error message reads "Der Wert liegt außerhalb des erlaubten Bereichs"

    Here is the contents of DevEnv.Log which makes me think it is related to Telerik Reporting

    Entering constructor for: Telerik.Reporting.VsPackage.VsPackage
    Entering Initialize() of: Telerik.Reporting.VsPackage.VsPackage
    >AddMenu throws:System.ArgumentException: Der Wert liegt außerhalb des erwarteten Bereichs.
       bei EnvDTE80.Commands2.AddNamedCommand2(AddIn AddInInstance, String Name, String ButtonText, String Tooltip, Boolean MSOButton, Object Bitmap, Object[]& ContextUIGUIDs, Int32 vsCommandStatusValue, Int32 CommandStyleFlags, vsCommandControlType ControlType)
       bei VtShared.Sdk.Addin.VSAddin.BaseAddin.AddMenuEntry(MenuDesc md, Object[]& contextGUIDS, Commands2 commands, CommandBar commandBar, Boolean startNewGroup)
       bei VtShared.Sdk.Addin.VSAddin.BaseAddin.AddMenu(Int32 menuid)
    >AddMenu throws:System.ArgumentException: Der Wert liegt außerhalb des erwarteten Bereichs.
       bei EnvDTE80.Commands2.AddNamedCommand2(AddIn AddInInstance, String Name, String ButtonText, String Tooltip, Boolean MSOButton, Object Bitmap, Object[]& ContextUIGUIDs, Int32 vsCommandStatusValue, Int32 CommandStyleFlags, vsCommandControlType ControlType)
       bei VtShared.Sdk.Addin.VSAddin.BaseAddin.AddMenuEntry(MenuDesc md, Object[]& contextGUIDS, Commands2 commands, CommandBar commandBar, Boolean startNewGroup)
       bei VtShared.Sdk.Addin.VSAddin.BaseAddin.AddMenu(Int32 menuid)
    Entering constructor for: Microsoft.VisualStudio.Internal.WPFFlavor.WPFPackage
    Entering Initialize() of: Microsoft.VisualStudio.Internal.WPFFlavor.WPFPackage

    Could you please try to reproduce (and fix) this.

    Thanks

    /BB

    PS: This doesn't happen for a WinFormsApplication!
    PPS: Other installed components
            - RAD Controls for WPD
            - OpenAccess
            - ReSharper
            - VisualSVN


  2. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 20 Jan 2009 Link to this post

    Hi Bernd,
    It seems to be an OpenAccess problem. I have added another try/catch block around it. After you got that error are there any OpenAccess menu entries missing?

    Regards,
    Jan Blessenohl
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft banner
  4. Bernd
    Bernd avatar
    8 posts
    Member since:
    Sep 2008

    Posted 20 Jan 2009 Link to this post

    Jan:

    I've compared the menu entries and can see no difference before/after the message box.

    /BB
  5. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 21 Jan 2009 Link to this post

    Hi Bernd,
    I think the fix is valid. Pls. check again with the next patch.

    Sincerely yours,
    Jan Blessenohl
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Bernd
    Bernd avatar
    8 posts
    Member since:
    Sep 2008

    Posted 05 Feb 2009 Link to this post

    Hi Jan,

    Thanks, it's OK now!

    /BB
Back to Top
DevCraft banner