[Mono-aspnet-list] Disable ASP.NET 2?

dugaldcurtis dugald at dolce.co.uk
Mon Jun 1 07:15:38 EDT 2009

Hi All,

My site runs fine on ASP.NET 1.1.  I recently installed the
"mono-apache-server2" and changed my mod_mono.conf file to tell mono to us
the 2.0 libraries.  I ran into a few problems, and decided to go back to 1.1
until I have more time to sort them out.  I changed mod_mono.conf back to
how it was - uncommenting the line:

Include /etc/mono-server/mono-server-hosts.conf

I also uninstalled the "mono-apache-server2" package.  After this I got lots
of 503 errors so I checked the Apache log files.  I have hundreds of lines
of this:

Cannot open assembly '/usr/lib/mono/2.0/mod-mono-server2.exe': No such file
or directory.

Looks like it is still trying to load the 2.0 server.  I rechecked my
mod_mono.conf file and it is correct.  What else could it be?  I have tried
rebooting and it doesn't help.  I need to get this server back up and
running by monday!

My mod_cono.conf file:

AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
DirectoryIndex index.aspx
# If want want to use ASP.NET 1.1 (via mono-apache-server), use:
Include /etc/mono-server/mono-server-hosts.conf
# If you want to use ASP.NET 2.0 (via mono-apache-server2), use:
# Include /etc/mono-server2/mono-server2-hosts.conf

View this message in context: http://www.nabble.com/Disable-ASP.NET-2--tp23777475p23777475.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.

More information about the Mono-aspnet-list mailing list