EntityDeveloper error
Posted: Sat 16 Oct 2021 13:07
Hi
I use last version of EntityDAC and when I try to open EntityDAC Developer it raise this error (same error in Windows 10 and Windows 11):
An item with the same key has already been added.
I'm not opening any schema but only run the application
This is the call stack:
=========================
General
=========================
Application: Entity Developer
Product: Entity Developer
Product Locale: English
Assembly: EntityDeveloper, Version=6.4.775.0, Culture=neutral, PublicKeyToken=09af7300eec23701
D:\CtrlD11.0Alexandria\Devart\EntityDAC\EntityDeveloper\EntityDeveloper.exe
Global cache: False
Framework: 4.0.30319.42000
=========================
Exception Information
=========================
Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
TargetSite: System.Object CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
HelpLink:
Type: System.Reflection.TargetInvocationException
Stack:
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance[T]()
at EntityDeveloper.NetShell.EntityDeveloperModule.ToolWindowCreatableControl`1.CreateControl()
at EntityDeveloper.NetShell.EntityDeveloperModule.CreateToolWindowControl(Guid windowId)
at Devart.Shell.Studio.StudioToolWindow.CreateHostedControl()
Message: An item with the same key has already been added.
Source: mscorlib
TargetSite: Void ThrowArgumentException(System.ExceptionResource)
HelpLink:
Type: System.ArgumentException
Stack:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.ObjectModel.KeyedCollection`2.AddKey(TKey key, TItem item)
at System.Collections.ObjectModel.KeyedCollection`2.InsertItem(Int32 index, TItem item)
at System.Collections.ObjectModel.Collection`1.Add(T item)
at Devart.Diagram.DiagramPalette.GetCenterPen(Color color, Dimension width)
at Devart.Diagram.DiagramPalette..ctor(ViewService viewService)
at Devart.Diagram.ViewService..ctor(DiagramOptions options)
at Devart.Diagram.Diagram..ctor(String diagramTypeId, IServiceProvider parentProvider)
at Devart.Diagram.Overview.OverviewAddIn..ctor()
at EntityDeveloper.DiagramOverviewControl..ctor()
=========================
Window Layout
=========================
Active document window: 'Start Page' (tabbed toolwindow)
No documents
Toolwindows (visible or have been shown in current session):
Caption: 'Model Explorer', Visible: 'True', DefaultVisibility: 'Always', IsControlCreated: 'True', State: Docked
Caption: 'Start Page', Visible: 'True', DefaultVisibility: 'Always', IsControlCreated: 'True', State: Tabbed
Caption: 'Properties', Visible: 'True', DefaultVisibility: 'Always', IsControlCreated: 'True', State: Docked
Caption: 'Database Explorer', Visible: 'True', DefaultVisibility: 'Always', IsControlCreated: 'True', State: Docked
Caption: 'Diagram Overview', Visible: 'True', DefaultVisibility: 'Always', IsControlCreated: 'False', State: Docked
Caption: 'Error List', Visible: 'True', DefaultVisibility: 'Always', IsControlCreated: 'False', State: Docked
=========================
Loaded Assemblies
=========================
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 4.0.0.0 C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
EntityDeveloper, Version=6.4.775.0, Culture=neutral, PublicKeyToken=09af7300eec23701 6.4.775.0 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/EntityDeveloper.exe
EntityDeveloper.Common, Version=6.4.775.0, Culture=neutral, PublicKeyToken=09af7300eec23701 6.4.775.0 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/EntityDeveloper.Common.DLL
Devart.Shell.Interfaces.ED, Version=1.4.20.1, Culture=neutral, PublicKeyToken=09af7300eec23701 1.4.20.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.Shell.Interfaces.ED.DLL
System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 4.0.0.0 C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 4.0.0.0 C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
EntityDeveloper.Orm.Common, Version=6.4.775.0, Culture=neutral, PublicKeyToken=09af7300eec23701 6.4.775.0 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/EntityDeveloper.Orm.Common.DLL
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 4.0.0.0 C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 4.0.0.0 C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 4.0.0.0 C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
EntityDeveloper.Orm.EntityDAC, Version=6.4.775.0, Culture=neutral, PublicKeyToken=09af7300eec23701 6.4.775.0 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/EntityDeveloper.Orm.EntityDAC.DLL
Devart.Shell.Studio.ED, Version=1.4.20.1, Culture=neutral, PublicKeyToken=09af7300eec23701 1.4.20.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.Shell.Studio.ED.DLL
Devart.Shell.Utils.ED, Version=1.4.20.1, Culture=neutral, PublicKeyToken=09af7300eec23701 1.4.20.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.Shell.Utils.ED.DLL
System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 4.0.0.0 C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
Devart.Shell.CommonRes.ED, Version=1.4.20.1, Culture=neutral, PublicKeyToken=09af7300eec23701 1.4.20.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.Shell.CommonRes.ED.DLL
Devart.XBars.v9.3, Version=9.3.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701 9.3.11.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.XBars.v9.3.DLL
Devart.XEditors.v9.3, Version=9.3.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701 9.3.11.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.XEditors.v9.3.DLL
Devart.XData.v9.3, Version=9.3.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701 9.3.11.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.XData.v9.3.DLL
Devart.XUtils.v9.3, Version=9.3.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701 9.3.11.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.XUtils.v9.3.DLL
Devart.Shell.Controls.ED, Version=1.4.20.1, Culture=neutral, PublicKeyToken=09af7300eec23701 1.4.20.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.Shell.Controls.ED.DLL
System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 4.0.0.0 C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
Devart.Studio.Help.ED, Version=1.4.20.1, Culture=neutral, PublicKeyToken=09af7300eec23701 1.4.20.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.Studio.Help.ED.DLL
Devart.XTreeList.v9.3, Version=9.3.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701 9.3.11.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.XTreeList.v9.3.DLL
Devart.Diagram, Version=1.20.0.98, Culture=neutral, PublicKeyToken=09af7300eec23701 1.20.0.98 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.Diagram.DLL
Devart.Ole.UndoManager, Version=1.0.878.0, Culture=neutral, PublicKeyToken=09af7300eec23701 1.0.878.0 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.Ole.UndoManager.DLL
=========================
System Information
=========================
Wow64 detected.
Processor architecture: amd64
Processor quantity: 4
Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz Intel64 Family 6 Model 158 Stepping 12
Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz Intel64 Family 6 Model 158 Stepping 12
Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz Intel64 Family 6 Model 158 Stepping 12
Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz Intel64 Family 6 Model 158 Stepping 12
Total physical memory: 8190Mb
Available virtual memory: 5968Mb
Operating System Name: Windows 10 Enterprise
Operating System Version: Microsoft Windows NT 6.2.9200.0
UAC: Enabled
Elevation Level: Default
Instances: 1
Culture: Italian (Italy)
Process started at 10/16/2021 14:57:48
Report created at 10/16/2021 14:57:50
I use last version of EntityDAC and when I try to open EntityDAC Developer it raise this error (same error in Windows 10 and Windows 11):
An item with the same key has already been added.
I'm not opening any schema but only run the application
This is the call stack:
=========================
General
=========================
Application: Entity Developer
Product: Entity Developer
Product Locale: English
Assembly: EntityDeveloper, Version=6.4.775.0, Culture=neutral, PublicKeyToken=09af7300eec23701
D:\CtrlD11.0Alexandria\Devart\EntityDAC\EntityDeveloper\EntityDeveloper.exe
Global cache: False
Framework: 4.0.30319.42000
=========================
Exception Information
=========================
Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
TargetSite: System.Object CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
HelpLink:
Type: System.Reflection.TargetInvocationException
Stack:
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance[T]()
at EntityDeveloper.NetShell.EntityDeveloperModule.ToolWindowCreatableControl`1.CreateControl()
at EntityDeveloper.NetShell.EntityDeveloperModule.CreateToolWindowControl(Guid windowId)
at Devart.Shell.Studio.StudioToolWindow.CreateHostedControl()
Message: An item with the same key has already been added.
Source: mscorlib
TargetSite: Void ThrowArgumentException(System.ExceptionResource)
HelpLink:
Type: System.ArgumentException
Stack:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.ObjectModel.KeyedCollection`2.AddKey(TKey key, TItem item)
at System.Collections.ObjectModel.KeyedCollection`2.InsertItem(Int32 index, TItem item)
at System.Collections.ObjectModel.Collection`1.Add(T item)
at Devart.Diagram.DiagramPalette.GetCenterPen(Color color, Dimension width)
at Devart.Diagram.DiagramPalette..ctor(ViewService viewService)
at Devart.Diagram.ViewService..ctor(DiagramOptions options)
at Devart.Diagram.Diagram..ctor(String diagramTypeId, IServiceProvider parentProvider)
at Devart.Diagram.Overview.OverviewAddIn..ctor()
at EntityDeveloper.DiagramOverviewControl..ctor()
=========================
Window Layout
=========================
Active document window: 'Start Page' (tabbed toolwindow)
No documents
Toolwindows (visible or have been shown in current session):
Caption: 'Model Explorer', Visible: 'True', DefaultVisibility: 'Always', IsControlCreated: 'True', State: Docked
Caption: 'Start Page', Visible: 'True', DefaultVisibility: 'Always', IsControlCreated: 'True', State: Tabbed
Caption: 'Properties', Visible: 'True', DefaultVisibility: 'Always', IsControlCreated: 'True', State: Docked
Caption: 'Database Explorer', Visible: 'True', DefaultVisibility: 'Always', IsControlCreated: 'True', State: Docked
Caption: 'Diagram Overview', Visible: 'True', DefaultVisibility: 'Always', IsControlCreated: 'False', State: Docked
Caption: 'Error List', Visible: 'True', DefaultVisibility: 'Always', IsControlCreated: 'False', State: Docked
=========================
Loaded Assemblies
=========================
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 4.0.0.0 C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
EntityDeveloper, Version=6.4.775.0, Culture=neutral, PublicKeyToken=09af7300eec23701 6.4.775.0 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/EntityDeveloper.exe
EntityDeveloper.Common, Version=6.4.775.0, Culture=neutral, PublicKeyToken=09af7300eec23701 6.4.775.0 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/EntityDeveloper.Common.DLL
Devart.Shell.Interfaces.ED, Version=1.4.20.1, Culture=neutral, PublicKeyToken=09af7300eec23701 1.4.20.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.Shell.Interfaces.ED.DLL
System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 4.0.0.0 C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 4.0.0.0 C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
EntityDeveloper.Orm.Common, Version=6.4.775.0, Culture=neutral, PublicKeyToken=09af7300eec23701 6.4.775.0 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/EntityDeveloper.Orm.Common.DLL
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 4.0.0.0 C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 4.0.0.0 C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 4.0.0.0 C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
EntityDeveloper.Orm.EntityDAC, Version=6.4.775.0, Culture=neutral, PublicKeyToken=09af7300eec23701 6.4.775.0 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/EntityDeveloper.Orm.EntityDAC.DLL
Devart.Shell.Studio.ED, Version=1.4.20.1, Culture=neutral, PublicKeyToken=09af7300eec23701 1.4.20.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.Shell.Studio.ED.DLL
Devart.Shell.Utils.ED, Version=1.4.20.1, Culture=neutral, PublicKeyToken=09af7300eec23701 1.4.20.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.Shell.Utils.ED.DLL
System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 4.0.0.0 C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
Devart.Shell.CommonRes.ED, Version=1.4.20.1, Culture=neutral, PublicKeyToken=09af7300eec23701 1.4.20.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.Shell.CommonRes.ED.DLL
Devart.XBars.v9.3, Version=9.3.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701 9.3.11.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.XBars.v9.3.DLL
Devart.XEditors.v9.3, Version=9.3.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701 9.3.11.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.XEditors.v9.3.DLL
Devart.XData.v9.3, Version=9.3.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701 9.3.11.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.XData.v9.3.DLL
Devart.XUtils.v9.3, Version=9.3.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701 9.3.11.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.XUtils.v9.3.DLL
Devart.Shell.Controls.ED, Version=1.4.20.1, Culture=neutral, PublicKeyToken=09af7300eec23701 1.4.20.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.Shell.Controls.ED.DLL
System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 4.0.0.0 C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
Devart.Studio.Help.ED, Version=1.4.20.1, Culture=neutral, PublicKeyToken=09af7300eec23701 1.4.20.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.Studio.Help.ED.DLL
Devart.XTreeList.v9.3, Version=9.3.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701 9.3.11.1 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.XTreeList.v9.3.DLL
Devart.Diagram, Version=1.20.0.98, Culture=neutral, PublicKeyToken=09af7300eec23701 1.20.0.98 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.Diagram.DLL
Devart.Ole.UndoManager, Version=1.0.878.0, Culture=neutral, PublicKeyToken=09af7300eec23701 1.0.878.0 D:/CtrlD11.0Alexandria/Devart/EntityDAC/EntityDeveloper/Devart.Ole.UndoManager.DLL
=========================
System Information
=========================
Wow64 detected.
Processor architecture: amd64
Processor quantity: 4
Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz Intel64 Family 6 Model 158 Stepping 12
Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz Intel64 Family 6 Model 158 Stepping 12
Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz Intel64 Family 6 Model 158 Stepping 12
Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz Intel64 Family 6 Model 158 Stepping 12
Total physical memory: 8190Mb
Available virtual memory: 5968Mb
Operating System Name: Windows 10 Enterprise
Operating System Version: Microsoft Windows NT 6.2.9200.0
UAC: Enabled
Elevation Level: Default
Instances: 1
Culture: Italian (Italy)
Process started at 10/16/2021 14:57:48
Report created at 10/16/2021 14:57:50