Developer Portal Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    Problems starting the Event Recorder

    Problems starting the Event Recorder

    FabianSIK
    Established Member

    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

    1 REPLY 1

    FabianSIK
    Established Member

    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!

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist