We are still working on migrating to the new Bosch Connected Industry Online Portal. Stay tuned! Click here for the latest updates.
03-10-2023 12:31 PM
Hi all,
I'm having problems starting the Event Recorder. The following error message is writen to the log file of the HMI:
Unhandled exception occured:
System.BadImageFormatException: Die Datei oder Assembly "file:///C:\OpconApp\HMI\Apps\EventRecorder\Opcon.EventRecorder.Client.dll" oder eine Abhängigkeit davon wurde nicht gefunden. Im Modul wurde ein Assemblymanifest erwartet.
Dateiname: "file:///C:\OpconApp\HMI\Apps\EventRecorder\Opcon.EventRecorder.Client.dll"
Server stack trace:
bei System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
bei System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
bei System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
bei System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
bei System.Reflection.Assembly.ReflectionOnlyLoadFrom(String assemblyFile)
bei Bosch.OpCon.ShopfloorApp.Core.Extensions.TypeLoader.GetAppAssemblyName(Manifest manifest)
bei System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
bei System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
bei Bosch.OpCon.ShopfloorApp.Core.Extensions.TypeLoader.GetAppAssemblyName(Manifest manifest)
bei Bosch.OpCon.ShopfloorApp.Core.Extensions.ManifestExtensions.GetAppArchitecture(Manifest manifest)
bei Bosch.OpCon.ShopfloorApp.Core.Extensions.ManifestExtensions.Load(Manifest app, CancellationToken ctx, Int32 timeoutMs, Boolean launchDebugger)
bei Bosch.OpCon.HMI.Modulo.ShopfloorApp.StartApp()
bei Bosch.OpCon.HMI.Modulo.AppPanel.GetActualApp(ShopfloorApp shopFloorApp)
bei Bosch.OpCon.HMI.Modulo.AppPanel.AppManager_AppRequest(ShopfloorApp shopFloorApp, ExtendedViewsDescription extViewDesc)
bei Bosch.OpCon.HMI.Modulo.AppManager.ShowApp(ShopfloorApp app, ExtendedViewsDescription viewDesc)
bei Bosch.OpCon.HMI.Modulo.AppManager.ViewManager_ShowAppRequest(String appFolderName)
bei Bosch.OpCon.HMI.Modulo.Shared.ViewManager.ShowApp(String appFolderName)
bei Bosch.OpCon.HMI.Modulo.MenueButton.StartApp()
bei Bosch.OpCon.HMI.Modulo.ScrollableContent.OnMouseUp(MouseEventArgs e)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei Bosch.OpCon.HMI.Modulo.Forms.TouchControl.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I installed the current version of the Event Recorder App (1.5.9.1). The HMI version is 5.5.1.17.
Let me know if you're needing more information.
Regards
Fabian
Solved! Go to Solution.
04-05-2023 09:17 AM
The Helpdesk found the error. I had to update the EventRecorder Runtime, HMI-Addon and PLC Addon to the newest version.
All credit goes to the Helpdesk!