Click here to Skip to main content
Click here to Skip to main content

Race to Linux - Race 3: Reports Starter Kit using Mono SqlServer/Firebird

, 30 Sep 2005
Rate this:
Please Sign up or sign in to vote.
Reports Starter Kit port to Linux using Mono

Introduction


Here is my port to Linux of the Reports Starter Kit using
Mono.
Honestly, it is very little to be done to te original source files to make them work under Mono so congratullations to the Mono Team. I only had to chane some ASP.Net keywords of the datagrid control (headerstyle-cssclass, footerstyle-cssclass, itemstyle-cssclass and itemstyle-width) with the syntaxis understood by Mono (ItemStyle, HeaderStyle and FooterStyle). Perhaps the most difficult task was to proper case all files to make them Linux friendly.

Prerequisites

Linux I've used Fedora Core 1 and Fedora Core 4 but any "Mono enabled" distribution should work fine
Mono Version 1.1.8 does the job perfectly

Runninig Instructions

1. Unpack the zip file in a folder, this folder will be the application's root folder.
2. Edit the web.config file and change the database connection string.
3. Optionally execute the script buildAllCS.bat to compile the application. To do this cd to the application's root folder and run $sh buildallcs.bat. Mono path must be in your PATH environment varible.
4. Execute xsp to run the application. To do this cd to the application's root folder and run $xsp.
5. Point your browser to localhost:8080 and enjoy it!

FireBird Database support added

Besides Sql Server Database Access I've coded FireBird Database Access.
The Database engine to use must be configured using the DataProvider appSettings Key of the web.config file. To use Firebird just assign the value "FireBird" to this key, any other value will be asumed as Sql Server.
In the source zip file there is a FireBeird database backup. You can use Flamerobin to create and restore the backup.

Screenshots


Updates

-Pie Chart not showing FIXED. I don't know if it is a Mono bug, but to make it work I had to generate each pie in reverse order. I think it migth a problem with the mono implementation of the GDI+ function FillPie.
-All files names where converted to lowercase, even the documentation ones to make the application 100% linux friendly Smile | :) -Screenshots added.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

idepaula
Web Developer
Uruguay Uruguay
No Biography provided

Comments and Discussions

 
GeneralDoubts Pinmemberanarchyco1-Oct-05 0:11 
Don't you have to change de folder names to lowercase (docs, images...)?
 
Don't you have any problem with ChartGenerator.aspx under mono?
 

GeneralRe: Doubts Pinmemberidepaula1-Oct-05 12:08 
GeneralRe: Doubts Pinmemberidepaula1-Oct-05 17:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.141220.1 | Last Updated 1 Oct 2005
Article Copyright 2005 by idepaula
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid