I have issues installing ctrlX Work (starting PLC Engineering)

After the installation of ctrlX Work I try to start the PLC Engineering but I get the error invalid profile. In the install log I see that the Codesys packages fails somehow:

"12:28:10.742 Start installing CODESYS - PLC - Packages

12:28:10.743 Packages to install:

12:28:10.743 Package: Bosch Rexroth AG CheckFunctions 1.12.0.1.package

12:28:10.743 Package: Bosch Rexroth AG MotionInterface 1.12.0.1.package

12:28:10.743 Package: CODESYS C Code Integration 4.0.0.0.package

12:28:10.743 Package: CODESYS CFC 4.1.0.0.package

12:28:10.743 Package: CODESYS Code Generator ARM64 4.0.0.0.package

12:28:10.743 Package: CODESYS Code Generator Cortex M3 4.0.0.0.package

12:28:10.743 Package: CODESYS Communication 4.0.0.0.package

12:28:10.743 Package: CODESYS Compatibility Package 3.5.17.20.package

12:28:10.743 Package: CODESYS Compiler Versions Archive 4.0.0.0.package

12:28:10.743 Package: CODESYS Core Dump 4.0.0.0.package

12:28:10.743 Package: CODESYS EDS Import 4.1.0.0.package

12:28:10.743 Package: CODESYS Embedded Runtime Extension 4.0.0.0.package

12:28:10.743 Package: CODESYS LD FBD 4.0.0.0.package

12:28:10.743 Package: CODESYS Memory Tools 4.0.0.0.package

12:28:10.743 Package: CODESYS Recipes 4.0.0.0.package

12:28:10.743 Package: CODESYS RISC Front End 4.0.0.0.package

12:28:10.743 Package: CODESYS Scripting 4.0.0.0.package

12:28:10.743 Package: CODESYS SFC 4.1.0.0.package

12:28:10.743 Package: CODESYS Trace 4.0.0.0.package

12:28:10.743 Package: CODESYS Visualization 4.0.0.0.package

12:28:10.743 Package: CODESYS Visualization Support 4.0.0.0.package

12:28:10.743 Package: ReadMe.txt

12:28:24.131 Package Manager Command Line Interface

12:28:24.131 Copyright (c) 2017-2022 CODESYS Development GmbH

12:28:24.131 Initializing...

12:28:24.131 Value cannot be null.

12:28:24.131 Parameter name: stProfileName

12:28:24.131 End installing CODESYS-PLC-Packages

12:28:24.138 Total Package install time: 00m:13s:961ms

12:28:24.186 using profile: RepTool

12:28:24.340 RepTool-PM-Installer: System.ArgumentNullException: Value cannot be null.

12:28:24.415 Parameter name: stProfileName

12:28:24.899 at _3S.CoDeSys.Core.Components.ComponentManager.SetActiveProfile(String stProfileName, Profile profile)

12:28:24.987 at 3S.CoDeSys.Core.Components.ComponentManager.setActiveProfileName(String value)

12:28:25.075 at Rexroth.StudioRepTool.LibAndDevInstaller.InitComponentManager(String profile)

12:28:25.173 System.TypeInitializationException: The type initializer for 'Rexroth.StudioRepTool.LibAndDevInstaller' threw an exception. ---> 3S.CoDeSys.Core.Components.SystemInstanceNotFound: System instance of interface type '3S.CoDeSys.Core.IEngine' is not existing.

12:28:25.272 at _3S.CoDeSys.Core.Components.InstanceFactory.GetSystemInstance[T](PlugInName& plugIn)

12:28:25.349 at _3S.CoDeSys.Core.Components.InstanceFactory.GetSystemInstance[T]()

12:28:25.434 at _3S.CoDeSys.Core.Components.ComponentManager.GetSystemInstance[T]()

12:28:25.544 at 3S.CoDeSys.Core.SystemInstances.getEngine()

12:28:25.665 at Rexroth.StudioRepTool.LibAndDevInstaller.InitComponentManager(String profile)

12:28:26.193 at Rexroth.StudioRepTool.LibAndDevInstaller..cctor()

12:28:26.324 --- End of inner exception stack trace ---

12:28:26.466 at Rexroth.StudioRepTool.LibAndDevInstaller.Install()

12:28:26.608 at Rexroth.StudioRepTool.Program.Main(String[] args)

12:28:26.761 C:\Program Files\Rexroth\ctrlX WORKS\Studio\Common\StudioRepTool.exe returned 1

12:28:26.763 Tasks.PackageRegistrar: Call iwpm.exe with args 'Invoke --assembly "PlcStudio.Gateway" --type "BoschRexroth.PlcStudio.Gateway.Registrar" --parameters {"PackageName":"PlcStudioGateway","RuntimeDirectory":"C:\\Program Files (x86)\\Common Files\\Rexroth\\iwpm","CommonAppDataDirectory":"C:\\ProgramData\\Rexroth\\ctrlX WORKS\\0","Action":"AfterUpdate","InstRuntimeDirectory":"C:\\Program Files\\Rexroth\\ctrlX WORKS","SharedDirectory":"C:\\Program Files (x86)\\Common Files\\Rexroth\\iwpm"} --setupargs {}'.

12:28:30.617 Assembly loaded (C:\Program Files (x86)\Common Files\Rexroth\iwpm\PlcStudio.Gateway.dll)

12:28:30.647 Tasks.PackageRegistrar: Call iwpm.exe with args 'Invoke --assembly "IDXPanelDriver.Registrar" --type "Rexroth.IndraWorks.Drive.IDXPanelDriver.InstallInf" --parameters {"PackageName":"IDXPanelDriver","RuntimeDirectory":"C:\\Program Files\\Rexroth\\ctrlX WORKS","CommonAppDataDirectory":"C:\\ProgramData\\Rexroth\\ctrlX WORKS\\0","Action":"AfterInstall","InstRuntimeDirectory":"C:\\Program Files\\Rexroth\\ctrlX WORKS","SharedDirectory":"C:\\Program Files (x86)\\Common Files\\Rexroth\\iwpm"} --setupargs {}'.

12:28:34.924 Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

12:28:35.035 at Rexroth.IndraWorks.Drive.IDXPanelDriver.InstallInf.UpdateDriverForPlugAndPlayDevices(IntPtr hwndParent, String HardwareId, String FullInfPath, UInt32 InstallFlags, Boolean bRebootRequired)

12:28:35.175 at Rexroth.IndraWorks.Drive.IDXPanelDriver.InstallInf.Execute(IDictionary`2 args)

12:28:35.307 --- End of inner exception stack trace ---

12:28:35.404 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

12:28:38.950 at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

12:28:39.113 at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

12:28:39.288 at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)

12:28:39.450 at Rexroth.IndraWorks.PackageManager.Commands.InvokeCommand.Invoke()

12:28:40.276 at Rexroth.IndraWorks.PackageManager.Commands.InvokeCommand.Execute()

12:28:40.441 at Rexroth.IndraWorks.PackageManager.Program.Main()"

I have tried to uninstall, reinstall twice, both times I get the same results in the install log.

Best reply by Remus

Disabling the FIPS algorithm policy in windows registry solved my problem.
Thanks Boschrexroth guys for the assistance.

/Remus

View original
7 replies