System.Web.Compilation.CompilationException

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
12/24/2008 12:12:59 PM
Gravatar
Total Posts 38

System.Web.Compilation.CompilationException

Hi all,

I have the following scenario:

  • CentOS 5
  • mono-core 1.9.1
  • mojoportal-2-2-8-1-pgsqlreleasefiles-for-mono

I successfully completed setup procedure. Now, trying to reach http://my-ip/mojoportal/, I'm getting

Exception of type 'System.Web.Compilation.CompilationException' was thrown.

Description: HTTP 500. Error processing request.

Stack Trace:

System.Web.Compilation.CompilationException: Exception of type 'System.Web.Compilation.CompilationException' was thrown.
at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.String virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x00000]
at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.String virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.BuildAssembly (System.String virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.GetCompiledType (System.String virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath (System.String virtualPath, System.Type requiredBaseType) [0x00000]
at System.Web.UI.PageParser.GetCompiledPageInstance (System.String virtualPath, System.String inputFile, System.Web.HttpContext context) [0x00000]
at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext context, System.String requestType, System.String url, System.String path) [0x00000]
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url) [0x00000]
at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () [0x00000]

Version information: Mono Version: 2.0.50727.42; ASP.NET Version: 2.0.50727.42

I don't know how to find more significative details, so I don't know why this exception was thrown. Suggestions?

Thanks,

LB

12/25/2008 9:05:46 AM
Gravatar
Total Posts 18439

Re: System.Web.Compilation.CompilationException

Hi,

This is a Mono bug, it has already been fixed, you need a newer version of Mono, 2.0 or 2.2 would be best or build Mono from their svn repository.

In general, any issues with using Mono should be posted in our Linux/Mono Forum.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.