error when trying to open designer
Can somebody help understand this problem?
Application: Designer.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.FormatException
at System.Number.StringToNumber(System.String, System.Globalization.NumberStyles, NumberBuffer ByRef, System.Globalization.NumberFormatInfo, Boolean)
at System.Number.ParseInt32(System.String, System.Globalization.NumberStyles, System.Globalization.NumberFormatInfo)
at FastReport.Design.PageDesigners.Code.CodePageDesigner.UpdateFont()
at FastReport.Design.PageDesigners.Code.CodePageDesigner.UpdateDpiDependencies()
at FastReport.Design.PluginCollection.UpdateDpiDependencies(System.Object)
at FastReport.Design.ReportTab.UpdateDpiDependencies()
at FastReport.Design.Designer.AddReportTab(FastReport.Design.ReportTab)
at FastReport.Design.Designer.InitTabs()
at FastReport.Report.Design(Boolean, System.Windows.Forms.Form)
at FastReport.Report.Design()
at Designer.Program.Main(System.String[])
Comments
Hello!
To resolve your issue, close the designer and either delete or edit the configuration file: %LOCALAPPDATA%\FastReport\FastReport.config (locate the <Code .../> node and remove the fractional font attribute, or delete the configuration file — it will be recreated with the default values).
In the latest version of FastReport.Net 2026.2.8, we have verified that opening and parsing FastReport.config with a fractional font size (Consolas, 9.5pt) does not result in a FormatException, even with the fr-FR locale using a decimal comma; we recommend updating to this version.