Error with new BE on Mono

Apr 1, 2013 at 9:27 PM
Hi Guys,

I'm upgraded my BE Blog to 2.7.0.4, because of a SyntaxHiglighter bug. But now I got error whitch I haven't seen before. I'm using Mono with Ubuntu Server 12.04.

The error appears when I navigate in the Dashboard (Like Blogs menu).

Do you have idea what should I do with this:

/////////////////////////////////////////////////////////////////////////////

Error Details:

Url : http://xxxxxx.homelinux.com/blog/admin/Blogs.aspx

Raw Url : /blog/admin/Blogs.aspx

Message : Code generation failed.

Source : System.Web

StackTrace : at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp, Boolean debug) [0x00000] in :0

at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp, Boolean debug) [0x00000] in :0

at System.Web.Compilation.BuildManager.Build (System.Web.VirtualPath vp) [0x00000] in :0

at System.Web.Compilation.BuildManager.GetCompiledType (System.Web.VirtualPath virtualPath) [0x00000] in :0

at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath (System.Web.VirtualPath virtualPath, System.Type requiredBaseType) [0x00000] in :0

at System.Web.UI.PageParser.GetCompiledPageInstance (System.String virtualPath, System.String inputFile, System.Web.HttpContext context) [0x00000] in :0

at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext context, System.String requestType, System.String url, System.String path) [0x00000] in :0

at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url, Boolean ignoreContextHandler) [0x00000] in :0

at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url) [0x00000] in :0

at System.Web.HttpApplication+c__Iterator6.MoveNext () [0x00000] in :0

TargetSite : Void GenerateAssembly(System.Web.Compilation.AssemblyBuilder, System.Web.Compilation.BuildProviderGroup, System.Web.VirtualPath, Boolean)

Message : Single file build failed.

Source : System.Web

StackTrace : at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp, Boolean debug) [0x00000] in :0

at System.Web.Compilation.BuildManager.Build (System.Web.VirtualPath vp) [0x00000] in :0

at System.Web.Compilation.BuildManager.GetCompiledType (System.Web.VirtualPath virtualPath) [0x00000] in :0

at System.Web.Compilation.BuildManager.GetCompiledType (System.String virtualPath) [0x00000] in :0

at System.Web.Compilation.PageCompiler.CreateConstructor (System.CodeDom.CodeStatementCollection localVars, System.CodeDom.CodeStatementCollection trueStmt) [0x00000] in :0

at System.Web.Compilation.BaseCompiler.ConstructType () [0x00000] in :0

at System.Web.Compilation.GenericBuildProvider1[System.Web.UI.TemplateParser].GenerateCode () [0x00000] in :0

at System.Web.Compilation.GenericBuildProvider
1[System.Web.UI.TemplateParser].GenerateCode (System.Web.Compilation.AssemblyBuilder assemblyBuilder) [0x00000] in :0

at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp, Boolean debug) [0x00000] in :0

TargetSite : Void BuildInner(System.Web.VirtualPath, Boolean)

Message : CS0103: The name `BundleTable' does not exist in the current context

Source : System.Web

StackTrace : at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x00000] in :0

at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00000] in :0

at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp, Boolean debug) [0x00000] in :0

at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp, Boolean debug) [0x00000] in :0

TargetSite : System.CodeDom.Compiler.CompilerResults BuildAssembly(System.Web.VirtualPath, System.CodeDom.Compiler.CompilerParameters)

/////////////////////////////////////////////////////////////////////////////

Thank you,
KU
Apr 7, 2013 at 4:46 PM
Hi Guys,

The System.Web.Optimization.dll is needed to be copied into the /bin folder in order to bypass the error.

KU