Problem with Web Demo

edited April 2013 in FastReport.Mono
Hi all!
I have Debian testing installed on my machine and I want to try Mono Web Reporting functionality.

I have installed mono by command:
sudo apt-get install mono-complete

After that I have installed apache2:
sudo apt-get install apache2

Next I have installed libapache2-mod-mono:
sudo apt-get install libapache2-mod-mono
sudo a2dismod mod_mono
sudo a2enmod mod_mono_auto
sudo service apache2 restart

Next I have copied all files from Demo to /var/www dir.

My virtualhost config:
<VirtualHost *:80>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/Demos/C/Web
        
        MonoServerPath "/usr/bin/mod-mono-server4"
        
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/Demos/C/Web>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>
        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

That's all.

After accessing url http://localhost/Default.aspx I see an error:
wrote:
FastReport handler not found. Please modify your web.config: IIS6 <system.web> ... <httpHandlers> <add path="FastReport.Export.aspx" verb="*" type="FastReport.Web.Handlers.WebExport"/> .... </httpHandlers> </system.web> IIS7 <configuration> ... <system.webServer> <validation validateIntegratedModeConfiguration="false"/> ... <handlers> ... <remove name="FastReportHandler"/> <add name="FastReportHandler" path="FastReport.Export.aspx" verb="*" type="FastReport.Web.Handlers.WebExport" /> </handlers> </system.webServer> </configuration>

But in Web.config, wich is located in /var/www/Demos/C/Web/ I can't find this text to edit it. Where is mistake? Help me please!!

Comments

  • edited November 2014
    a FastReport.NET presents new opportunity for building safe and secure application on FastReport.Service (WCF Service Library). This library can be used for stand-alone application Windows Service and Web-Service in your product. Also added new demos: WCFWindowsService, WCFWebService, WCFClient, WCFWebClient.



    _____________________________
    Enjoy the real C4040-225 latest braindumps exam and cisco ccna online CISCO and latest 642-974. Also The University of Tokyo level with quality 646-578 questions and answers of
  • DavyJohnes wrote: »
    Hi all!
    I have Debian testing installed on my machine and I want to try Mono Web Reporting functionality.

    I have installed mono by command:
    sudo apt-get install mono-complete
    

    After that I have installed apache2:
    sudo apt-get install apache2
    

    Next I have installed libapache2-mod-mono:
    sudo apt-get install libapache2-mod-mono
    sudo a2dismod mod_mono
    sudo a2enmod mod_mono_auto
    sudo service apache2 restart
    

    Next I have copied all files from Demo to /var/www dir.

    My virtualhost config:
    <VirtualHost *:80>
            ServerAdmin webmaster@localhost
    
            DocumentRoot /var/www/Demos/C/Web
            
            MonoServerPath "/usr/bin/mod-mono-server4"
            
            <Directory />
                    Options FollowSymLinks
                    AllowOverride None
            </Directory>
            <Directory /var/www/Demos/C/Web>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride None
                    Order allow,deny
                    allow from all
            </Directory>
            ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
            <Directory "/usr/lib/cgi-bin">
                    AllowOverride None
                    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                    Order allow,deny
                    Allow from all
            </Directory>
    
            ErrorLog ${APACHE_LOG_DIR}/error.log
    
            # Possible values include: debug, info, notice, warn, error, crit,
            # alert, emerg.
            LogLevel warn
    
            CustomLog ${APACHE_LOG_DIR}/access.log combined
    </VirtualHost>
    

    That's all.

    After accessing url http://localhost/Default.aspx I see an error:
    DavyJohnes wrote: »
    FastReport handler not found. Please modify your web.config: IIS6 <system.web> ... <httpHandlers> <add path="FastReport.Export.aspx" verb="*" type="FastReport.Web.Handlers.WebExport"/> .... </httpHandlers> </system.web> IIS7 <configuration> ... <system.webServer> <validation validateIntegratedModeConfiguration="false"/> ... <handlers> ... <remove name="FastReportHandler"/> <add name="FastReportHandler" path="FastReport.Export.aspx" verb="*" type="FastReport.Web.Handlers.WebExport" /> </handlers> </system.webServer> </configuration>

    But in Web.config, wich is located in /var/www/Demos/C/Web/ I can't find this text to edit it. Where is mistake? Help me please!!
  • I am a newbie over here. I don't know much about fast report company's. Applications and features as they have written in a technical language how do they get there work done. Can someone help me on this.

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.