Generics error in gdi+

Stimulsoft Reports.NET discussion
Post Reply
abhi_svks
Posts: 20
Joined: Wed Apr 16, 2008 2:22 am
Location: Chennai

Generics error in gdi+

Post by abhi_svks »

Hi,
In my report include an image component. If I select for single record it displays,
for more than 10 records means, its not displaying the report output.
Giving error.

Whats the solution for this?

Plz help, its urgent.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Generics error in gdi+

Post by Edward »

Hello.

Please show full stack of error the .Net Framework returned you.

If possible please send the report and those images to support[at]stimulsoft.com for analysis.

Thank you.
abhi_svks
Posts: 20
Joined: Wed Apr 16, 2008 2:22 am
Location: Chennai

Generics error in gdi+

Post by abhi_svks »

at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
at System.Drawing.Image.Save(MemoryStream stream)
at System.Drawing.ImageConverter.ConvertTo(ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType)
at System.ComponentModel.TypeConverter.ConvertTo(Object value, Type destinationType)
at Stimulsoft.Base.Drawing.StiImageConverter.ImageToBytes(Image image)
at Stimulsoft.Base.Drawing.StiImageConverter.ImageToString(Image image)
at Stimulsoft.Base.Serializing.StiSerializing.SerializeProperty(XmlTextWriter tw, StiPropertyInfo prop)
at Stimulsoft.Base.Serializing.StiSerializing.SerializeObject(XmlTextWriter tw, StiPropertyInfoCollection props)
at Stimulsoft.Base.Serializing.StiSerializing.SerializeProperty(XmlTextWriter tw, StiPropertyInfo prop)
at Stimulsoft.Base.Serializing.StiSerializing.SerializeObject(XmlTextWriter tw, StiPropertyInfoCollection props)
at Stimulsoft.Base.Serializing.StiSerializing.SerializeProperty(XmlTextWriter tw, StiPropertyInfo prop)
at Stimulsoft.Base.Serializing.StiSerializing.SerializeObject(XmlTextWriter tw, StiPropertyInfoCollection props)
at Stimulsoft.Base.Serializing.StiSerializing.Serialize(Object obj, Stream stream, String application, StiSerializeTypes serializeType)
at Stimulsoft.Report.Components.StiPagesCollection.SavePage(StiPage page)
at Stimulsoft.Report.Components.StiPagesCollection.AddPageToQuickCache(StiPage page, Boolean savePage)
at Stimulsoft.Report.Components.StiPagesCollection.Add(StiPage page)
at Stimulsoft.Report.Render.StiRenderProvider.Render(StiReport report)
at Stimulsoft.Report.StiReport.Render(Boolean showProgress)
at IT_REPORT.frmInvestorReports.sviewRecord()
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Generics error in gdi+

Post by Vital »

Hello,

This is problem with saving image to string stream. Please send us this image file together with report file.

Thank you.
Post Reply