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 ?

Comments

  • edited 11:33PM
    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 ?

    FastReport.Bars.Dll was damaged (the file size had a different number of bytes)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.