Unhandled Error in Silverlight Application

Stimulsoft Reports.Silverlight discussion
Locked
Rajesh
Posts: 2
Joined: Thu Mar 03, 2016 7:58 am

Unhandled Error in Silverlight Application

Post by Rajesh »

Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.ArgumentException: DependencyProperty of type System.Double cannot be set on an object of type System.Int32.
at System.Windows.DependencyObject.SetObjectValueToCore(DependencyProperty dp, Object value)
at System.Windows.DependencyObject.SetEffectiveValue(DependencyProperty property, EffectiveValueEntry& newEntry, Object newValue)
at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at Stimulsoft.Report.SL.Helpers.StiPaintVisualComponentHelper.DrawConditionsImage(Panel parent, StiConditionsCollection conditions, Boolean isCanvas)
at Stimulsoft.Report.SL.VisualComponents.Designer.StiChartVisual.UpdateContent(Boolean clear)
at Stimulsoft.Report.SLDesign.StiSLUpdater.UpdateVisualSelectedComponent(StiSLDesignerControl designer)
at Stimulsoft.Report.SLDesign.StiActions.Style.conditionsEditorWindow_Closed(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at Stimulsoft.Controls.SL.StiWindow.InvokeClosed()
at Stimulsoft.Controls.SL.StiWindow.popupClosed(Object sender, EventArgs e)
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)


We are using Stimulsoft Silverlight slDesign:StiSLDesignerControl for creating an interactive report in our Silverlight application.
We get above error when we tried to configure expression condition for a chart.
steps are :
1) Goto Designer
2) Add a chart(say a line chart
3) goto conditions in designer menu and Add condition
4) Select 'Field Is' -> Expressions
5) Do not add any expression
6) Click on OK( we get above exception at this stage)
7) Even on adding valid expression we are getting error.



we are using 2014.3.0.0 of stimulsoft report.

Please help!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Unhandled Error in Silverlight Application

Post by Alex K. »

Hello,

We need some additional time to fix the issue.
Please send us a request on support@stimulsoft.com

Thank you.
Locked