The type initializer for 'FastReport.Utils.Res' threw an exception.
I'm receiving this error when exporting to pdf
I have set FastReport.Utils.Config.WebMode = True
The type initializer for 'FastReport.Utils.Res' threw an exception.
at FastReport.Utils.Res.GetImage(Int32 index)
at FastReport.Utils.ObjectInfo.Update(Object obj, Bitmap image, Int32 imageIndex, String text, Int32 flags, Boolean multiInsert)
at FastReport.Utils.RegisteredObjects.InternalAdd(Object obj, String category, Bitmap image, Int32 imageIndex, String text, Int32 flags, Boolean multiInsert)
at FastReport.Utils.RegisteredObjects.AddReport(Type obj, Int32 imageIndex)
at FastReport.AssemblyInitializer..ctor()
at FastReport.Utils.Config.LoadPlugins()
at FastReport.Utils.Config.Init()
at FastReport.Report..cctor()
Does anybody can help me ?
I have set FastReport.Utils.Config.WebMode = True
The type initializer for 'FastReport.Utils.Res' threw an exception.
at FastReport.Utils.Res.GetImage(Int32 index)
at FastReport.Utils.ObjectInfo.Update(Object obj, Bitmap image, Int32 imageIndex, String text, Int32 flags, Boolean multiInsert)
at FastReport.Utils.RegisteredObjects.InternalAdd(Object obj, String category, Bitmap image, Int32 imageIndex, String text, Int32 flags, Boolean multiInsert)
at FastReport.Utils.RegisteredObjects.AddReport(Type obj, Int32 imageIndex)
at FastReport.AssemblyInitializer..ctor()
at FastReport.Utils.Config.LoadPlugins()
at FastReport.Utils.Config.Init()
at FastReport.Report..cctor()
Does anybody can help me ?
Comments
FastReport.Bars.Dll was damaged (the file size had a different number of bytes)