Mono Support HTML5 menu issue after upgrade (Closed)

Viewed 8990 time(s), 4 post(s), 6/2/2014 3:22:27 PM - by Zoomicon
6/2/2014 3:22:27 PM
2793 Reputation 345 Total posts

While upgrading http://social.clipflair.net to MonoX v4.9.40.4845 [12/25/2013], DB v4.7.3842 I see in the logs:

2014-06-02 18:20:16,255 [125] ERROR MonoX [BaseHttpApplication] - Application Error
</br>System.Web.HttpParseException (0x80004005): The base class includes the field 'ctlMenu', but its type (MonoSoftware.MonoX.ModuleGallery.MonoXMenuHTML5) is not compatible with the type of control (ASP.monox_modulegallery_monoxmenusimple_ascx). ---> System.Web.HttpParseException (0x80004005): The base class includes the field 'ctlMenu', but its type (MonoSoftware.MonoX.ModuleGallery.MonoXMenuHTML5) is not compatible with the type of control (ASP.monox_modulegallery_monoxmenusimple_ascx).
</br>   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildFieldDeclaration(ControlBuilder builder)
</br>   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)
</br>   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)
</br>   at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)
</br>   at System.Web.Compilation.MasterPageCodeDomTreeGenerator.BuildMiscClassMembers()
</br>   at System.Web.Compilation.BaseCodeDomTreeGenerator.BuildSourceDataTree()
</br>   at System.Web.Compilation.BaseCodeDomTreeGenerator.GetCodeDomTree(CodeDomProvider codeDomProvider, StringResourceBuilder stringResourceBuilder, VirtualPath virtualPath)
</br>   at System.Web.Compilation.BaseTemplateBuildProvider.GenerateCode(AssemblyBuilder assemblyBuilder)
</br>   at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider)
</br>   at System.Web.UI.TemplateParser.ProcessException(Exception ex)
</br>   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
</br>   at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
</br>   at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
</br>   at System.Web.UI.TemplateParser.Parse()
</br>   at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
</br>   at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
</br>   at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
</br>   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
</br>   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
</br>   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
</br>   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
</br>   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
</br>   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
</br>   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
</br>   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
</br>   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

this is logged for every page access, but the menu does seem to work

note that I'm using a 4.x AjaxControlToolkit, having in web.config the following:

  <runtime>
</br>    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
</br>      <dependentAssembly>
</br>        <assemblyIdentity name="AjaxControlToolkit" publicKeyToken="28f01b0e84b6d53e" culture="neutral" />
</br>        <bindingRedirect oldVersion="0.0.0.0-3.0.30930.28736" newVersion="4.1.60623.0" />
</br>      </dependentAssembly>
</br>    </assemblyBinding>
</br>  </runtime>

but I don't think that one is the issue

</br>

1
6/2/2014 6:52:27 PM
2793 Reputation 345 Total posts

this error seems to be fatal for pages like http://social.clipflair.net/profile/George/ whereas the other pages don't seem to have issue with it (although it fires and gets logged)

2
6/3/2014 9:42:13 PM
15993 Reputation 2214 Total posts

Hi,

  Just to confirm that mentioned error isn't related to "note that I'm using a 4.x AjaxControlToolkit, having in web.config the following:", can you please check if your old profile page has MonoXMenuSimple or maybe did you upgrade to latest version of profile page markup ?

Please provide us with more info ?

Thanks

3
6/3/2014 9:57:58 PM
2793 Reputation 345 Total posts

It turned out to be an issue with the Master page, it had DefaultSmallHeader.master setting, which our designer isn't using and seems to not work correctly with out theme. Changing to Default.master in the page itself (can't change Master page and Theme any more from the admin panel, not sure why but it doesn't accept the change saying they're not "compatible" or something like that) did fix the http://social.clipflair.net/profile/George/

4
This is a demo site for MonoX. Please visit Mono Software for more info.