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

Telerik Reporting - Conflict with WPF projects

4 Answers 101 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bernd
Top achievements
Rank 2
Bernd asked on 19 Jan 2009, 09:13 PM
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


4 Answers, 1 is accepted

Sort by
0
Jan Blessenohl
Telerik team
answered on 20 Jan 2009, 01:35 PM
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.
0
Bernd
Top achievements
Rank 2
answered on 20 Jan 2009, 01:52 PM
Jan:

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

/BB
0
Jan Blessenohl
Telerik team
answered on 21 Jan 2009, 03:34 PM
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.
0
Bernd
Top achievements
Rank 2
answered on 05 Feb 2009, 07:46 PM
Hi Jan,

Thanks, it's OK now!

/BB
Tags
General Discussions
Asked by
Bernd
Top achievements
Rank 2
Answers by
Jan Blessenohl
Telerik team
Bernd
Top achievements
Rank 2
Share this question
or