Method : [FormatError] Input string was not in a correct format.
Method : [FormatError] Input string was not in a correct format.
Hi,
While rendering a page of my report in the standalone designer (page 321 in this case) I get the following error message:
Method : [FormatError]
Input string was not in a correct format.
Are there any tips how to debug this please? Considering that it only appears after a few hundred pages it doesn't seem so easy to track down.
Thanks a lot,
Patrick
While rendering a page of my report in the standalone designer (page 321 in this case) I get the following error message:
Method : [FormatError]
Input string was not in a correct format.
Are there any tips how to debug this please? Considering that it only appears after a few hundred pages it doesn't seem so easy to track down.
Thanks a lot,
Patrick
Method : [FormatError] Input string was not in a correct format.
Hello, Patrick.
This error is connected in the most cases with a Formating procedure. Did you use a custom format strings?
Please check it.
If still no luck, please send test project to support[at]stimulsoft.com, we will try to help you with it.
Thank you.
This error is connected in the most cases with a Formating procedure. Did you use a custom format strings?
Please check it.
If still no luck, please send test project to support[at]stimulsoft.com, we will try to help you with it.
Thank you.
Method : [FormatError] Input string was not in a correct format.
Hi,
Ok I got the stack trace and it looks like a faulty image or a null image caused the exception as I use images from the database:
at Stimulsoft.Report.Components.StiImage.GetImageFromDataColumn()
at Stimulsoft.Report.Components.StiImage.GetImageFromSource()
This shouldn't really cause the report to stop printing though but it should rather skip the faulty image and continue. This happens in V1 & V2 by the way
Thanks,
Patrick
---------------------------
at System.Text.StringBuilder.FormatError()
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at System.String.Format(String format, Object arg0, Object arg1)
at Stimulsoft.Report.Components.StiImage.GetImageFromDataColumn()
at Stimulsoft.Report.Components.StiImage.GetImageFromSource()
at Stimulsoft.Report.Engine.StiViewV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiImageV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.RenderComponent(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.InternalRender(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.Render(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.Render(StiContainer outContainer)
at Stimulsoft.Report.Engine.StiContainerV1Builder.InternalCoreRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiContainerV1Builder.InternalRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiContainerV1Builder.RenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiContainer.RenderContainer(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.RenderItem(StiDataBand masterDataBand, Boolean& breaked, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.InternalRender(StiDataBand masterDataBand, StiComponent& renderedComponent, StiContainer outContainer, Boolean value)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.Render(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.Render(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.Render(StiContainer outContainer)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.RenderDetails(StiDataBand masterDataBand, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.RenderItem(StiDataBand masterDataBand, Boolean& breaked, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.InternalRender(StiDataBand masterDataBand, StiComponent& renderedComponent, StiContainer outContainer, Boolean value)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.Render(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.Render(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.Render(StiContainer outContainer)
at Stimulsoft.Report.Engine.StiContainerV1Builder.InternalCoreRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiContainerV1Builder.InternalRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiContainerV1Builder.RenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiPageV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.RenderComponent(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.InternalRender(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.Render(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.Render(StiContainer outContainer)
at Stimulsoft.Report.Engine.StiRender.GetNextPage()
at Stimulsoft.Report.Engine.StiRenderProviderV1.RenderReport(StiReport report, StiReport masterReport, StiRenderState state)
at Stimulsoft.Report.Engine.StiRenderProviderV1.Render(StiReport report, StiRenderState state)
at Stimulsoft.Report.Engine.StiReportV1Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
at Stimulsoft.Report.StiReport.Render(StiRenderState renderState)
at Stimulsoft.Report.StiReport.Render(Boolean showProgress, Int32 fromPage, Int32 toPage)
at Stimulsoft.Report.StiReport.Render(Boolean showProgress)
at Stimulsoft.Report.StiReport.Show(Form parentForm, IWin32Window win32Window, Boolean dialogForm)
at Stimulsoft.Report.StiReport.Show(Form parentForm, Boolean dialogForm)
at Stimulsoft.Report.StiReport.Show()
Ok I got the stack trace and it looks like a faulty image or a null image caused the exception as I use images from the database:
at Stimulsoft.Report.Components.StiImage.GetImageFromDataColumn()
at Stimulsoft.Report.Components.StiImage.GetImageFromSource()
This shouldn't really cause the report to stop printing though but it should rather skip the faulty image and continue. This happens in V1 & V2 by the way
Thanks,
Patrick
---------------------------
at System.Text.StringBuilder.FormatError()
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at System.String.Format(String format, Object arg0, Object arg1)
at Stimulsoft.Report.Components.StiImage.GetImageFromDataColumn()
at Stimulsoft.Report.Components.StiImage.GetImageFromSource()
at Stimulsoft.Report.Engine.StiViewV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiImageV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.RenderComponent(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.InternalRender(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.Render(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.Render(StiContainer outContainer)
at Stimulsoft.Report.Engine.StiContainerV1Builder.InternalCoreRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiContainerV1Builder.InternalRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiContainerV1Builder.RenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiContainer.RenderContainer(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.RenderItem(StiDataBand masterDataBand, Boolean& breaked, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.InternalRender(StiDataBand masterDataBand, StiComponent& renderedComponent, StiContainer outContainer, Boolean value)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.Render(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.Render(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.Render(StiContainer outContainer)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.RenderDetails(StiDataBand masterDataBand, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.RenderItem(StiDataBand masterDataBand, Boolean& breaked, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.InternalRender(StiDataBand masterDataBand, StiComponent& renderedComponent, StiContainer outContainer, Boolean value)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiDataBandV1Builder.Render(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.Render(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.Render(StiContainer outContainer)
at Stimulsoft.Report.Engine.StiContainerV1Builder.InternalCoreRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiContainerV1Builder.InternalRenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiContainerV1Builder.RenderContainer(StiContainer masterContainer, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiPageV1Builder.InternalRender(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.RenderComponent(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.InternalRender(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.Render(StiComponent& renderedComponent, StiContainer outContainer)
at Stimulsoft.Report.Engine.StiComponentV1Builder.Render(StiComponent masterComp, StiContainer outContainer)
at Stimulsoft.Report.Components.StiComponent.Render(StiContainer outContainer)
at Stimulsoft.Report.Engine.StiRender.GetNextPage()
at Stimulsoft.Report.Engine.StiRenderProviderV1.RenderReport(StiReport report, StiReport masterReport, StiRenderState state)
at Stimulsoft.Report.Engine.StiRenderProviderV1.Render(StiReport report, StiRenderState state)
at Stimulsoft.Report.Engine.StiReportV1Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
at Stimulsoft.Report.StiReport.Render(StiRenderState renderState)
at Stimulsoft.Report.StiReport.Render(Boolean showProgress, Int32 fromPage, Int32 toPage)
at Stimulsoft.Report.StiReport.Render(Boolean showProgress)
at Stimulsoft.Report.StiReport.Show(Form parentForm, IWin32Window win32Window, Boolean dialogForm)
at Stimulsoft.Report.StiReport.Show(Form parentForm, Boolean dialogForm)
at Stimulsoft.Report.StiReport.Show()
Method : [FormatError] Input string was not in a correct format.
Hello Pat,
Problem fixed. Patch will be available in build from 8 August.
Thank you.
Problem fixed. Patch will be available in build from 8 August.
Thank you.
Method : [FormatError] Input string was not in a correct format.
Thanks I'm looking forward to it.Vital wrote:Hello Pat,
Problem fixed. Patch will be available in build from 8 August.
Thank you.
Patrick
Method : [FormatError] Input string was not in a correct format.
Would you know when it will be available please?Vital wrote:Problem fixed. Patch will be available in build from 8 August.
Thanks,
Patrick
Method : [FormatError] Input string was not in a correct format.
Hello,
Sorry for delay. It will be available today.
Thank you.
Sorry for delay. It will be available today.
Thank you.