Page 1 of 1

Error loading report template

Posted: Tue Apr 15, 2008 7:01 pm
by garethm
Hi

When I try to load one of the report templates I have created and saved using the Stimulsoft Report designer, I receive the following error:

2008:04:16, 09:51: StiReport: Loading report from file 'C:\Temp\DemoReport2.mrt'...ERROR
2008:04:16, 09:51: StiReport: Method : [OnInsert] : Unable to cast object of type 'System.String' to type 'Stimulsoft.Report.Dictionary.StiDataColumn'.
====================================================
at Stimulsoft.Report.Dictionary.StiDataColumnsCollection.OnInsert(Int32 index, Object value)
at System.Collections.CollectionBase.System.Collections.IList.Add(Object value)
at Stimulsoft.Base.Serializing.StiSerializing.DeserializeObject(Object obj, StiPropertyInfoCollection props)
at Stimulsoft.Base.Serializing.StiSerializing.DeserializeObject(Object obj, StiPropertyInfoCollection props)
at Stimulsoft.Base.Serializing.StiSerializing.DeserializeObject(Object obj, StiPropertyInfoCollection props)
at Stimulsoft.Base.Serializing.StiSerializing.Deserialize(Object obj, Stream stream, String application)
at Stimulsoft.Report.SaveLoad.StiXmlReportSLService.Load(StiReport report, Stream stream)
at Stimulsoft.Report.StiReport.Load(StiReportSLService service, Stream stream)
at Stimulsoft.Report.StiReport.Load(Stream stream)
at Stimulsoft.Report.StiReport.Load(String path)
====================================================

How can I track down and resolve this problem?

My Stimulsoft.Report assembly has version 2008.1.218.0. I am using Visual Studio 2005.

Regards
Gareth Marshall

Error loading report template

Posted: Tue Apr 15, 2008 10:33 pm
by Vital
Hello Gareth,

Please check build from 16 April (when it will be available).

Thank you.