HI,
For some reason my 2024.6 version, 2025.0.1 version and now 2025.02 version of plcnext engineer does not want to open. I have reinstalled 2023.6 version works, but all my programs have been updated to the 2025.0.1 version.
This is the same following error I receive on all 3 versions. Please help, I cannot lose these programs.
PLCnext Engineer, Version 2025.0.2 (Build 8.0.402.0, Revision ef09148c)
Unexpected Exception
The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.
- Key not valid for use in specified state.
Resulting in: An exception occurred while calling the ‘OnImportsSatisfied’ method on type ‘Ade.ApplicationControl.Grpc.ApplicationControlServerComponent’.
Resulting in: Cannot activate part ‘Ade.ApplicationControl.Grpc.ApplicationControlServerComponent’.
Element: Ade.ApplicationControl.Grpc.ApplicationControlServerComponent → Ade.ApplicationControl.Grpc.ApplicationControlServerComponent → AssemblyCatalog (Assembly=“Ade.ApplicationControl.ServerImpl, Version=8.0.402.0, Culture=neutral, PublicKeyToken=55558f70c9068f5b”)
Resulting in: Cannot get export ‘Ade.ApplicationControl.Grpc.ApplicationControlServerComponent (ContractName=“Ade.Components.IStartupModule”)’ from part ‘Ade.ApplicationControl.Grpc.ApplicationControlServerComponent’.
Element: Ade.ApplicationControl.Grpc.ApplicationControlServerComponent (ContractName=“Ade.Components.IStartupModule”) → Ade.ApplicationControl.Grpc.ApplicationControlServerComponent → AssemblyCatalog (Assembly=“Ade.ApplicationControl.ServerImpl, Version=8.0.402.0, Culture=neutral, PublicKeyToken=55558f70c9068f5b”)
Exception chain:
----------------------------------------------------------------------
CompositionException
======================================================================
Details
----------------------------------------------------------------------
CompositionException
Message:
------------------------------
The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.
- Key not valid for use in specified state.
Resulting in: An exception occurred while calling the ‘OnImportsSatisfied’ method on type ‘Ade.ApplicationControl.Grpc.ApplicationControlServerComponent’.
Resulting in: Cannot activate part ‘Ade.ApplicationControl.Grpc.ApplicationControlServerComponent’.
Element: Ade.ApplicationControl.Grpc.ApplicationControlServerComponent → Ade.ApplicationControl.Grpc.ApplicationControlServerComponent → AssemblyCatalog (Assembly=“Ade.ApplicationControl.ServerImpl, Version=8.0.402.0, Culture=neutral, PublicKeyToken=55558f70c9068f5b”)
Resulting in: Cannot get export ‘Ade.ApplicationControl.Grpc.ApplicationControlServerComponent (ContractName=“Ade.Components.IStartupModule”)’ from part ‘Ade.ApplicationControl.Grpc.ApplicationControlServerComponent’.
Element: Ade.ApplicationControl.Grpc.ApplicationControlServerComponent (ContractName=“Ade.Components.IStartupModule”) → Ade.ApplicationControl.Grpc.ApplicationControlServerComponent → AssemblyCatalog (Assembly=“Ade.ApplicationControl.ServerImpl, Version=8.0.402.0, Culture=neutral, PublicKeyToken=55558f70c9068f5b”)
Stack trace:
------------------------------
at System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition)
at System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart part, ExportDefinition export, Boolean isSharedPart)
at System.ComponentModel.Composition.Primitives.Export.get_Value()
at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)
at System.ComponentModel.Composition.ExportServices.<>c__DisplayClass10_01.<CreateStronglyTypedLazyOfT>b__1() at System.Lazy1.PublicationOnlyViaFactory(LazyHelper initializer)
at System.Lazy1.CreateValue() at Ade.Components.ComponentFramework.<Init>b__36_2() at Ade.Diagnostics.ApplicationEventSource.<>c__DisplayClass8_0.<RunAction>b__0() at Ade.Diagnostics.ApplicationEventSource.RunAction[T](String category, String actionName, Func1 action)
at Ade.Diagnostics.ApplicationEventSource.RunAction(String category, String actionName, Action action)
at Ade.Components.ComponentFramework.Init()
at Ade.UIFramework.MainControl..ctor()
at PCWorxNext.PCWorxNextApplicationStarter.CreateMainWindow()
at Ade.Application.ApplicationStarter.Init()
at PCWorxNext.Startup.Main(String args)