FastReport-mono - Demo - Object not found Error (Error 404)

edited October 2012 in FastReport.Mono
Hi
We have installed the mono on OpenSUSE Linux Version 12.2.

We had installed successfully installed the following packages:
the Apache web server
the runtime Mono
mod_mono
xsp server (implements ASP.NET-pages functionality)

After this, we tried executing sample HelloWorld aspx pages and it executes successfully.

But while trying to executing the FastReport demos, we are encountering the following issues:

1. While executing the demos in the folder Demos/C#/Web/Default.aspx, we are getting "Object not found" error (Error 404).
(We had also provided the permissions 777 to the entire Fast-Reports folder and its sub-folders & files).


2. We are getting the following error while executing "mono Demo.exe" from command line:
====================================================================
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: gdiplus.dll
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in <filename unknown>:0
at Demo.Program.Main () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: gdiplus.dll
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in <filename unknown>:0
at Demo.Program.Main () [0x00000] in <filename unknown>:0
==================================================================================================

Can you help me to address the above issues so that we can have it working in our environment?

Appreciate your immediate help.

regards
Param

Comments

  • edited 11:59PM
    I think that you have installed Framework 4.0, but you should install Framework 2.0 too.

  • edited 11:59PM
    Thanks for the response.
    I have installed Framework 2.0 Only.

    regards
    Param
  • edited 11:59PM
    Sorry for response delay.

    It seems that some dll are missing. Here is useful link: http://www.mono-project.com/DllNotFoundException

    We have tested FR.Mono under Suse Linux , Ubuntu Linux, Mac OS X and Windows and we cannot reproduce that error. What operating system are you using?

    Could you create a simple WinWorms project, see what is going on, and tell us?


    Sincerely,
    Aleksey
  • edited 11:59PM
    An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: gdiplus.dll???
  • edited 11:59PM
    I anticipate that you accept installed Framework 4.0, but you should install Framework 2.0 too.

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.