Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • My project has a Ribbon form. I added a BarManager (with only a Main Menu), and then added a PopupMenu, with the Manager set to the BarManager The Ribbon is set to None. After adding several button items to the menu, I get the error "There is already a command handler for the menu command '5efc7975-14bc-11cf-9b2b-00aa00573819 : 17". I deleted both the BarManager and the PopupMenu and re-created them, but I still get the error. Closing the project and re-opening it will let the application run, but when I return to design mode it reappears.

                                • Hi John,

                                  Could you please provide us with a sample illustrating your issue?
                                  We will examine it, and do our best to help you.

                                  Thanks,
                                  Andrew

                                • Harry Folloder 09.10.2010

                                  Andrew,

                                  This is the only project I have done that is having this issue. When I create a small sample app, it works fine. I have included a small project that has a similar structure as far as the types of controls involved. I tried to create it using the same steps I used in my main project (I have a feeling I have probably created the menus in a very un-logical sequence).

                                  I have also included the main form (frmMain) from the app that is having the issue, but it is part of a large Sql based app that would be more difficult for you to get to run. If you need the entire project let me know and I will send it. The call stack from the error is:

                                  There is already a command handler for the menu command '5efc7975-14bc-11cf-9b2b-00aa00573819 : 17'.
                                      
                                  Instances of this error (1)
                                   
                                  at System.ComponentModel.Design.MenuCommandService.AddCommand(MenuCommand command)
                                  at System.Windows.Forms.Design.Behavior.BehaviorService.MenuCommandHandler.System.ComponentModel.Design.IMenuCommandService.AddCommand(MenuCommand command)
                                  at System.Windows.Forms.Design.CommandSet..ctor(ISite site)
                                  at System.Windows.Forms.Design.ControlCommandSet..ctor(ISite site)
                                  at System.Windows.Forms.Design.DocumentDesigner.Initialize(IComponent component)
                                  at System.Windows.Forms.Design.FormDocumentDesigner.Initialize(IComponent component)
                                  at System.ComponentModel.Design.DesignerHost.AddToContainerPostProcess(IComponent component, String name, IContainer containerToAddTo)
                                  at System.ComponentModel.Design.DesignerHost.PerformAdd(IComponent component, String name)
                                  at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType, String name)
                                  at System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
                                  at System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
                                  at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
                                  at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
                                  at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
                                  at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)
                                    
                                   
                                  Thanks,

                                  John

                                • Hi John,

                                  I'm afraid that the information you provided is still not enough, because our developers are not able to reproduce the problem. Moreover, from the attached callstack I see that, most probably, this issue isn't related to our controls. If you take a close look at the callstack, you will notice that it has nothing in common with our suites. The exception is raised when the ControlCommandSet design-time component is created. Anyway, if you need us to further research this issue, please attach a project reproducing the problem and describe exact steps to reproduce it. I have marked this issue as private to prevent this information from being accessed by other customers.

                                  Thanks,
                                  Stan.

                                • Harry Folloder 09.13.2010

                                  Thanks for the info. My concern was that there are no other menus in the application other than a DevExpress PopupMenu. Is there any way to track down Guid 5efc7975-14bc-11cf-9b2b-00aa00573819 in the code to find out what type of control it is?

                                  Thanks,

                                  John

                                You must  log in  or  register  to leave comments

                                1 Solution

                                0

                                Since my last post, I noticed that my project had a reference to an old version of the Microsoft PowerPack shape control. I have removed that, and the issue (so far) appears to have gone away. It was the error message's reference to a menu command that made me wonder about your PopUpMenu control.

                                I'll consider the issue closed. Thanks for your help.

                                John

                                • Harry Folloder 09.13.2010

                                  See last post.

                                • Hi John,

                                  I am happy to hear that the problem is resolved now. Thank you for informing us of that.

                                  Please feel free to contact us in case of any difficulties. We are happy to help you at any time.

                                  Thanks,
                                  Stan.

                                • Coffeehouse 01.03.2013

                                  Confirming that once i removed the PowerPacks, my problems went away. I too had the exact problem mentioned above. All my controls, including the form were devexpress based.

                                  Thanks for the post!

                                • Mohammad Shami 12.26.2013

                                  I would like to thank Coffeehouse for clarification. Same situation was in my application. I have installed ASAP utilities for Excel, wich cause the problem. Uninstall and i am done.

                                You must  log in  or  register  to leave comments

                                To start a chat you should create a support ticket


                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2014 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners