[Mono-list] Single File Build Failed Exception in ASP.NET MVC Website

James Wright james.wright at jigsawdezign.com
Sun Apr 21 17:33:50 UTC 2013


    Which version of Mono 3.0.x is considered stable?

    I can find notes for 3.0.10 here: 
http://www.mono-project.com/Release_Notes_Mono_3.0.9

    But only source tarballs for up to 3.0.7 here: 
http://download.mono-project.com/sources/mono/

    It'd be good to know if this will fix the actual problem before I go 
through the process of upgrading our servers and testing with Mono 3.0.x


On 21/04/2013 11:58, Daniel Lo Nigro wrote:
> Definitely try it with Mono 3.0.x and see if it's any better.
>
>
> On Sun, Apr 21, 2013 at 8:52 PM, JamesWright 
> <james.wright at jigsawdezign.com <mailto:james.wright at jigsawdezign.com>> 
> wrote:
>
>     I've been running my ASP.NET <http://ASP.NET> MVC website (built
>     with VS2010) with Mono hosted
>     Amazon Linux for nearly two years and occasionally (once a month)
>     get the
>     error detailed below. Once a page breaks in this way it remains
>     broken until
>     I restart apache. Previously this error occurred on a relatively
>     obscure
>     page so it's not been a major problem, however it's now reared its
>     ugly head
>     on a high traffic page and filled the logs with exceptions. I'd
>     like to get
>     to the bottom of this because apart from this one issue the
>     platform has
>     been rock solid stable.
>
>     The problem appears to occur after an Apache restart, the page is
>     hit, then
>     the MVC View Engine tries to compile the ASPX page for the first time.
>
>     Potential workarounds / solutions;
>
>     1) Upgrade to Mono 3.0 (may or may not fix it)?
>
>     2) Precompile the web pages (so Mono won't attempt to build the
>     page at
>     all)?
>
>     3) Track down and fix the issue in Mono itself?
>
>
>     Server:     Amazon Linux (RHEL/CENTOS based distro) 64 bit
>     Mono:       2.10.8 compiled form source + mod_mono running under
>     Apache
>     Framework: ASP.NET <http://ASP.NET> MVC 2
>
>
>     21/04/2013 03:45:01 Application End
>     21/04/2013 03:45:13 Application Start
>     21/04/2013 03:45:24 EXCEPTION - Single file build failed.
>       at System.Web.Compilation.BuildManager.BuildInner
>     (System.Web.VirtualPath
>     vp, Boolean debug) [0x00000] in <filename unknown>:0
>       at System.Web.Compilation.BuildManager.Build
>     (System.Web.VirtualPath vp)
>     [0x00000] in <filename unknown>:0
>       at System.Web.Compilation.BuildManager.BuildInner
>     (System.Web.VirtualPath
>     vp, Boolean debug) [0x00000] in <filename unknown>:0
>       at System.Web.Compilation.BuildManager.Build
>     (System.Web.VirtualPath vp)
>     [0x00000] in <filename unknown>:0
>       at System.Web.Compilation.BuildManager.GetCompiledType
>     (System.Web.VirtualPath virtualPath) [0x00000] in <filename unknown>:0
>       at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath
>     (System.Web.VirtualPath virtualPath, System.Type requiredBaseType)
>     [0x00000]
>     $
>       at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath
>     (System.String virtualPath, System.Type requiredBaseType) [0x00000] in
>     <filen$
>       at
>     System.Web.Mvc.BuildManagerWrapper.System.Web.Mvc.IBuildManager.CreateInstanceFromVirtualPath
>     (System.String virtualPath, System.Type requiredB$
>       at System.Web.Mvc.WebFormViewEngine.FileExists
>     (System.Web.Mvc.ControllerContext controllerContext, System.String
>     virtualPath) [0x00000] in <filen$
>
>
>     Any help or insights into this problem would be appreciated!
>
>     Thanks,
>     James
>
>
>
>
>     --
>     View this message in context:
>     http://mono.1490590.n4.nabble.com/Single-File-Build-Failed-Exception-in-ASP-NET-MVC-Website-tp4659436.html
>     Sent from the Mono - General mailing list archive at Nabble.com.
>     _______________________________________________
>     Mono-list maillist  - Mono-list at lists.ximian.com
>     <mailto: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/20130421/ef5a6c76/attachment.html>


More information about the Mono-list mailing list