[Mono-aspnet-list] mod_mono fails: HTTP 503, no error log

Yves Goergen nospam.list at unclassified.de
Fri Dec 12 12:52:28 UTC 2014


Oh, I've found my logs. They said "Failed running 
'/usr/bin/mod-mono-server2" but that clearly isn't supposed to be used 
at all. As per mod_mono.conf which includes 
/etc/mono-server4/mono-server4-hosts.conf, it says "MonoServerPath 
default /usr/bin/mod-mono-server4".

I had to include the line "MonoServerPath /usr/bin/mod-mono-server4" in 
my virtual host config to override whatever set the wrong value. Now the 
error log looks good.

Then I got an application error. After setting the <customErrors 
mode="Off"/> to web.config and refreshing, it loaded forever. I had to 
restart apache to make it stop.

Now I get the following error and I'm stuck.

System.TypeLoadException
Could not load type 'System.Web.UI.ScriptResourceDefinition' from 
assembly 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=31bf3856ad364e35'.

Does that mean that mono can't handle a simple ASP.NET 4.5 application?

My mono version is 3.2.8 (mono --version) which is the default of Ubuntu 
14.04.

-- 
Yves Goergen
http://unclassified.de
http://dev.unclassified.de


More information about the Mono-aspnet-list mailing list