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 <[email protected]>wrote: > I've been running my 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 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 - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list >
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
