Render Device Failed

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
SES_DEV
Posts: 1
Joined: Thu Jan 30, 2020 12:21 am

Render Device Failed

Post by SES_DEV » Thu Jan 30, 2020 12:26 am

We have a very mature product that uses the lightning chart. There has recently been a group of customers that all have HP Zenbooks that get the error below when a chart is getting created. We tried updating drivers, turning on performance mode etc to no avail. What dependencies might be missing for this error?

2020-01-27 05:28:45.7784 XXXXXXXXX.MainWindow.CurrentDomain_UnhandledException Error Application Unhandled Exception EXCEPTION OCCURRED:Arction.Wpf.SemibindableCharting.ChartException: Render device create failed: Render device create failed: Problem loading Arction.DirectXFiles.dll. Could not load file or assembly 'Arction.DirectXFiles, Version=7.1.3.4006, Culture=neutral, PublicKeyToken=6484d7bb14b95dd3' or one of its dependencies. The system cannot find the file specified.
at Arction.Wpf.SemibindableCharting.LightningChartUltimate.ZOC()
at Arction.Wpf.SemibindableCharting.Views.RenderOptionsCommon.DeviceTypeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.Freezable.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at SES.Chart.View.ucChartWPF.Create2D(Object _data) in C:\BuildWork\3\s\FST\SES.Charting\SES.Chart.View\ucChartWPF.xaml.cs:line 605
at SES.Chart.View.ucChartWPF.<>c__DisplayClass184_0.<UserControl_DataContextChanged>b__0() in C:\BuildWork\3\s\FST\SES.Charting\SES.Chart.View\ucChartWPF.xaml.cs:line 3020
at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback)
at System.Windows.FrameworkElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)
at System.Windows.FrameworkElement.OnDataContextChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)

ArctionKestutis
Posts: 552
Joined: Mon Mar 14, 2016 9:22 am

Re: Render Device Failed

Post by ArctionKestutis » Thu Jan 30, 2020 8:46 am

Hi,

If it is indeed LightningChart SDK version 7.1.3.4006, then assemblies something like 3.5 year old. They are not very bad, but definitely luck some of debugging tools for the problem situation. Although, it is old version, I believe that list of required DLLs (to be delivered with your deployed application) did not changed. This list is given in User's Manual chapter 28.1 Referenced assemblies. That is, for semi-bindable WPF:
• Arction.Wpf.SemibindableCharting.LightningChartUltimate.dll
• Arction.Licensing.dll
• Arction.DirectX.dll
• Arction.RenderingDefinitions.dll
• Arction.RenderingEngine.dll
• Arction.RenderingEngine9.dll
• Arction.RenderingEngine11.dll
• Arction.DirectXInit.dll
• Arction.DirectXFiles.dll

So I hope, all those Arction DLLs are delivered with your binaries.
Arction.DirectXFiles.dll contains backup copies of DirectX DLL files. It includes DirectX9, DirectX11 files for 32-bit and 64-bit application. If LightningChart could not find (DirectX) file on the system it extract content of Arction.DirectXFiles.dll to temporal folder and use it from that moment on.
I guess that newer computer dropped DirectX9 files and 32-bit version. If for some reason your application tries to use RenderingEngine9 and not able to find Arction.DirectXFiles.dll, then Chart could not be rendered.

Hope this helps.
All the best.

Post Reply