[Mono-list] Help running ASP.Net website on apache2 with mono-2.8

Abe Gillespie abe.gillespie at gmail.com
Mon Mar 28 18:14:15 EDT 2011


You need to set MonoServerPath in the Apache config.  It would look
something like:

MonoServerPath "/usr/local/mono/2.8/bin/mod-mono-server4"

You can find more info at http://www.mono-project.com/Mod_mono

-Abe

On Mon, Mar 28, 2011 at 5:55 PM, sakshaw <sakshaw at gmail.com> wrote:

> Hi,
>
> Please can someone help me. I have installed mono-2.6 by default on Ubuntu
> 10.10 server, but am now wanting to run ASP.Net 4.0 framework applications,
> so I followed a few tutorials about building Mono-2.8 in a parallel
> environment and using that for my asp.net applications. I have had some
> success in that if I test for the current mono version with "mono -V" it
> outputs correctly that it is using 2.8 etc etc. The same when I use xsp.
>
> I also think I have setup the configuration files for the virtual
> environment correctly, but when I test my application using apache2 it
> gives
> me a compilation error
>
> Compiler Error Message: : ** (/usr/lib/mono/2.0/gmcs.exe:9801): WARNING **:
> Missing method .ctor in assembly /var/www/vimba/bin/Vimba.dll, type
> System.Runtime.Versioning.TargetFrameworkAttribute
>
> On closer look at the error page I also noticed this
>  "Version information: Mono Runtime Version: 2.6.7 (Debian 2.6.7-3ubuntu1);
> ASP.NET Version: 2.0.50727.143"
>
> Now should this not be saying the Mono Runtime Version: 2.8?
>
> I have tried enabling and disabling the mod_mono.conf file on apache, but
> it's still not working. Any help would be much appreciated
>
> Thanks Sak
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Help-running-ASP-Net-website-on-apache2-with-mono-2-8-tp3413189p3413189.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110328/2dc0d4f0/attachment.html 


More information about the Mono-list mailing list