Dashboard not working under Mono (Razor problems)

Topics: ASP.NET 2.0, Controls
Mar 3, 2013 at 2:39 PM
I'm trying to run BlogEngine on Mono and experience strange problem - when i try to open Dashboard, browser tries to download file instead of opening respective view. I know this problem is documented and may lie in server settings regarding Razor viewengine, but strange thing is Appearance view (/admin/Extensions/default.cshtml) and related (like /admin/Extensions/Editor.cshtml) all work fine.
Environment :
Operating system: Unix 3.0.0.31
.NET Framework version: 4.0.30319.1 (32-bit)
Web server: Apache
Integrated pipeline: False
Worker process: /usr/bin/mono
AppDomain: Homogenous = True, FullTrust = True
Version information: Mono Runtime Version: 2.10.5 (Debian 2.10.5-1ubuntu0.1); ASP.NET Version: 4.0.30319.1
BlogEngine version : 2.7.0.2 (7920a579661e 2013.03.02 from sources)
Loaded assemblies (accoding to MvcDiagnostics.aspx, skipped not related ones) :
mod-mono-server4, Version=2.10.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756
Mono.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756
Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756
Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756
Mono.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756
Mono.WebServer2, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
NuGet.Core, Version=1.7.0.0, Culture=neutral, PublicKeyToken=null
System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Web.ApplicationServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.DynamicData, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.Optimization, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.WebPages.Deployment, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Tried replacing all Mvc/Razor assemblies with versions 4.0, and that had no effect. How to debug/fix this problem? Thanks in advance.
p.s. I'm using Visual Studio 2012 and copying web application to remote server "as is".