Hi Cubert,
I copied the files into the \LabTech Client\ folder and overwrote the files there.
When trying to launch the plugin event viewer shows:
Dispatcher Exception: Could not load file or assembly 'DevExpress.XtraCharts.v12.2, Version=12.2.17.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a' or one of its dependencies. The module was expected to contain an assembly manifest.
The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)
Stacktrace:
at PatchRemedy.ToolsForm.InitializeComponent()
at PatchRemedy.ToolsForm..ctor(IControlCenter objClient)
at PatchRemedy.clsMenus.ShowApprovalForm(Object sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItem.PerformClick()
at LTClient.ControlCenter.ViewModels.ControlCenterSideNavViewModel.WinFormItemSupportCommand.Execute(Object parameter)
at LabTechPresentation.Controls.CategoryExplorer.CategoryExplorer.TreeViewItem_MouseLeftButtonUp(Object sender, MouseEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
v120.473
I then downloaded the DevExpress installer and tried to install. It errored showing:
Cannot register types for eXpressAppFramework assembly
After googling this error DevExpress said this shows if VS C++ 2005 is missing or has errors. I can see this installed in my Programs and Features but I found an express edition and installed this.
I checked the plugin, still having the same issues so I reran the DevExpress installation in a repair install, we get the same error: Cannot register types for eXpressAppFramework assembly
I then found VC++ 2005 x86 and x64 Redistributable packages and installed them both from here:
https://www.microsoft.com/en-au/downloa ... px?id=3387
https://www.microsoft.com/en-AU/downloa ... x?id=21254
I uninstalled DevExpress and reinstalled it, we get the same error.
I decided to test on another machine that had never previously had LT installed on it.
Prior to installing I can see this only has VSC++ 2008 and 2015 redistributables.
While installing LT installs the other VC++ redistributables, 2005 (both x86 and x64) and 2013 x86.
I logged in and launched the control centre - This has pulled the DevExpress files into the \LabTech Client\ folder.
I've gone to run the PatchRemedy plugin and Event Viewer shows:
Dispatcher Exception: Could not load file or assembly 'DevExpress.XtraCharts.v12.2, Version=12.2.17.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a' or one of its dependencies. The system cannot find the file specified.
Stacktrace:
at PatchRemedy.ToolsForm.InitializeComponent()
at PatchRemedy.ToolsForm..ctor(IControlCenter objClient)
at PatchRemedy.clsMenus.ShowApprovalForm(Object sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItem.PerformClick()
at LTClient.ControlCenter.ViewModels.ControlCenterSideNavViewModel.WinFormItemSupportCommand.Execute(Object parameter)
at LabTechPresentation.Controls.CategoryExplorer.CategoryExplorer.TreeViewItem_MouseLeftButtonUp(Object sender, MouseEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
v120.473
The plugin did not show either - Testing any other plugins these show.
I didn't mention this earlier as I thought it was just a glitch which wasn't too much of a concern but I will mention it now.
If you follow these steps:
1) Open LT client
2) Attempt to launch PatchRemedy plugin - Error shows in Event Viewer (as shown above) and the plugin doesn't pop up
3) Open another plugin - Works fine
4) Go back to open PatchRemedy - Opens fine
5) Close and reopen PatchRemedy - Version resets to 1.0.0.1 and no config
You can repeat the same steps on any machine and it has the same result.
The latest machine we tested on does not have AV, for the machines we tested on that did have AV we scoured the logs and there is nothing.
On the new system without AV, I tried installing the DevExpress in trial installation - We have the same error of Cannot register types for eXpressAppFramework assembly.
So we have several computers, physical and virtual, some with and some without AV, in different locations and different operating systems all with the same issues.
Any idea on where to go from here ?