Current filter:
                                You should refresh the page.
                                Support Center
                                  • This error can occur if the application model contains different BO Models with the same Caption and is visible in dashboards.

                                        Type:       ArgumentException
                                        Message:    An item with the same key has already been added.
                                        Data:       0 entries
                                        Stack trace:

                                       at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                                       at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                                       at DevExpress.ExpressApp.Dashboards.Web.DataSourceStorage..ctor()
                                       at DevExpress.ExpressApp.Dashboards.Web.DashboardsAspNetModule.get_DataSourceStorage()
                                       at DevExpress.ExpressApp.Dashboards.Web.DashboardsAspNetModule.Application_DetailViewCreated(Object sender, DetailViewCreatedEventArgs e)
                                       at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
                                       at DevExpress.ExpressApp.XafApplication.OnDetailViewCreated(DetailView view)
                                       at DevExpress.ExpressApp.XafApplication.CreateDetailView(IObjectSpace objectSpace, String detailViewID, Boolean isRoot, Object obj)
                                       at DevExpress.ExpressApp.XafApplication.CreateDetailView(IObjectSpace objectSpace, Object obj, View sourceView)
                                       at DevExpress.ExpressApp.Dashboards.Web.WebEditDashboardController.ShowDesignerAction_CustomizePopupWindowParams(Object sender, CustomizePopupWindowParamsEventArgs e)
                                       at DevExpress.ExpressApp.Actions.CustomizePopupWindowParamsEventHandler.Invoke(Object sender, CustomizePopupWindowParamsEventArgs e)
                                       at DevExpress.ExpressApp.Actions.PopupWindowShowAction.GetPopupWindowParams()
                                       at DevExpress.ExpressApp.Web.PopupWindowManager.GetPopupWindow(PopupWindowShowAction action)
                                       at DevExpress.ExpressApp.Web.Templates.ActionContainers.Menu.PopupWindowActionMenuActionItem.ExecuteAction(ASPxMenuBase menu)
                                       at DevExpress.ExpressApp.Web.Templates.ActionContainers.ActionContainerHolder.ExecuteMenuItem(IList`1 items, String itemName)
                                       at DevExpress.ExpressApp.Web.Templates.XafCallbackManager.ProcessAction(String parameter)
                                       at DevExpress.ExpressApp.Web.Templates.XafCallbackManager.callbackControl_Callback(Object source, CallbackEventArgs e)
                                       at DevExpress.Web.ASPxCallback.OnCallback(CallbackEventArgs e)
                                       at DevExpress.Web.ASPxCallback.RaiseCallbackEvent(String eventArgument)
                                       at DevExpress.Web.ASPxWebControl.System.Web.UI.ICallbackEventHandler.RaiseCallbackEvent(String eventArgument)
                                        InnerException is null

                                    Attached is a sample project demonstrating the issue.

                                    A temporary workaround is either to make captions different or remove the VisibleInDashboardsAttribute from classes that are not required in dashboards.

                                1 Solution

                                Creation Date Rating Importance Sort by
                                Show all comments
                                • QGI OIL AND GAS INC CARLOS RENNO 05.04.2017
                                  I have the same problem, I also need the fix. 
                                • We will publish a hotfix as soon as we have a stable build. Please add this ticket to your Favorites to receive a notification.
                                • George Vrakas 05.05.2017
                                  I have the same problem in Win Dashboard in v16.2.6
                                • Hello George,

                                  I've created a separate ticket on your behalf (T512044: Win Dashboards - ArgumentException - An item with the same key has already been added). It has been placed in our processing queue and will be answered shortly.

                                • Denis Sikic 05.05.2017
                                  This will be fixed in the first 17.1 NON BETA, correct?
                                • Hello Denis,

                                  This issue will be fixed in both versions - 16.2 an 16.1.
                                • Denis, this is a follow up to my previous message to correct two mistakes in it.

                                  1. There is a typo - I should have written 17.1 instead of 16.1.
                                  2. It appears that the fix is not included into the upcoming 17.1 release, but it will be included into the next maintenance update for version 17.1. Also, it will be possible to request the hotfix after the 17.1 is released.

                                  Please accept my apologies for any inconvenience.
                                • Denis Sikic 05.08.2017
                                  I will request a hotfix for 17.1.2 as soon as this build is released.
                                  Thank you Uriah.
                                • Denis Sikic 05.08.2017

                                  You're not the only one with typos. Maybe we need to change your releases into pastries and call them Marshmallow or something. It will be a lot easier to keep track of them. (kidding)
                                • Why not, like Android version code names. :-)

                                • Çağlar Özkul 05.10.2017
                                  this version numbers are not familiar to me. What did you mean with "but it will be included into the next maintenance update for version 17.1."  I want to learn when do you think this update will be available approximately? and what its version number will be 17.1.1.x or 17.1.2.x or 17.2?
                                • @Çağlar Özkul: The fix will be available in v16.2.7 and v17.1.4, which are expected in a couple of weeks or so.
                                  Right away, you can download the hotfix for v16.2 from here: DevExpressComponents-

                                If you need additional product information, write to us at 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, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

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