Page 1 of 1

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

Posted: Mon Aug 02, 2010 1:25 am
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

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

Posted: Mon Aug 02, 2010 4:24 am
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.

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

Posted: Mon Aug 02, 2010 6:47 am
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

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

Posted: Mon Aug 02, 2010 7:19 am
by Andrew
Excellent!