Object of type 'Stimulsoft.Report.Dictionary.StiDictionary' cannot be converted to type 'Stimulsoft.

Stimulsoft Reports.WPF discussion
Post Reply
Patrick8639
Posts: 12
Joined: Wed Mar 17, 2010 10:50 am
Location: Lausanne, Switzerland

Object of type 'Stimulsoft.Report.Dictionary.StiDictionary' cannot be converted to type 'Stimulsoft.

Post by Patrick8639 »

Hello,
here is the error I have when I try to load a report in my application.
What can be the error, because it is of the same type?

[ArgumentException: Object of type 'Stimulsoft.Report.Dictionary.StiDictionary' cannot be converted to type 'Stimulsoft.Report.Dictionary.StiDictionary'.]
System.RuntimeType.TryChangeType(Object value, Binder binder, CultureInfo culture, Boolean needsSpecialCast) +6428456
System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr) +12710713
System.Reflection.MethodBase.CheckArguments(Object[] parameters, Binder binder, BindingFlags invokeAttr, CultureInfo culture, Signature sig) +129
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +521
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +38
System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index) +44
Stimulsoft.Base.Serializing.StiSerializing.DeserializeObject(Object obj, StiPropertyInfoCollection props) +1743
Stimulsoft.Base.Serializing.StiSerializing.DeserializeObject(Object obj, StiPropertyInfoCollection props) +1617
Stimulsoft.Base.Serializing.StiSerializing.DeserializeObject(Object obj, StiPropertyInfoCollection props) +465
Stimulsoft.Base.Serializing.StiSerializing.Deserialize(Object obj, Stream stream, String application) +535
Stimulsoft.Report.SaveLoad.StiXmlReportSLService.Load(StiReport report, Stream stream) +231
Stimulsoft.Report.StiReport.Load(StiReportSLService service, Stream stream) +509
Stimulsoft.Report.StiReport.Load(Stream stream) +567
Stimulsoft.Report.StiReport.Load(String path) +344
...User code stack...

Patrick
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Object of type 'Stimulsoft.Report.Dictionary.StiDictionary' cannot be converted to type 'Stimulsoft.

Post by Alex K. »

Hello,

This error may occur if you have installed different versions of Stimulsoft Reports.Wpf.
Perhaps there are different versions of libraries. Check the GAC, Reference.

Thank you.
Patrick8639
Posts: 12
Joined: Wed Mar 17, 2010 10:50 am
Location: Lausanne, Switzerland

Object of type 'Stimulsoft.Report.Dictionary.StiDictionary' cannot be converted to type 'Stimulsoft.

Post by Patrick8639 »

Aleksey wrote:Hello,

This error may occur if you have installed different versions of Stimulsoft Reports.Wpf.
Perhaps there are different versions of libraries. Check the GAC, Reference.

Thank you.
Aleksey,
thank you for your answer.
I have completely removed all the versions of StimulReports, cleaned the GAC and it is working now.
Patrick
Post Reply