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

sakshaw sakshaw at gmail.com
Mon Mar 28 17:55:19 EDT 2011


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.


More information about the Mono-list mailing list