Could not load type mojoPortal.Web.MonoPagesConfigSection

mojoPortal is no longer supported on mono. This forum is here for archival purposes.

This thread is closed to new posts. You must sign in to post in the forums.
3/21/2008 1:32:42 PM
Gravatar
Total Posts 8

Could not load type mojoPortal.Web.MonoPagesConfigSection


Hi, I have upgrade to mono 1.9 on my Susse 10.2 and now I receive the following error:

Server Error in '/' Application
Could not load type 'mojoPortal.Web.MonoPagesConfigSection, mojoPortal.Web'.

Description: HTTP 500. Error processing request.

Stack Trace:

System.TypeLoadException: Could not load type 'mojoPortal.Web.MonoPagesConfigSection, mojoPortal.Web'.
at (wrapper managed-to-native) System.Type:internal_from_name (string,bool,bool)
at System.Type.GetType (System.String typeName, Boolean throwOnError) [0x00000]
at Mono.Web.Util.SettingsMapping.get_MapperType () [0x00000]
at Mono.Web.Util.SettingsMapping.MapSection (System.Object input, System.Type type) [0x00000]
at Mono.Web.Util.SettingsMappingManager.MapSection (System.Object input, System.Type type) [0x00000]
at Mono.Web.Util.SettingsMappingManager.MapSection (System.Object input) [0x00000]
at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName, System.String path) [0x00000]
at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName) [0x00000]
at System.Web.UI.TemplateParser.AddNamespaces (System.Collections.ArrayList imports) [0x00000]
at System.Web.UI.TemplateParser..ctor () [0x00000]
at System.Web.UI.ApplicationFileParser..ctor (System.String virtualPath, System.String inputFile, System.IO.TextReader reader, System.Web.HttpContext context) [0x00000]
at System.Web.Compilation.ApplicationFileBuildProvider.CreateParser (System.String virtualPath, System.String physicalPath, System.IO.TextReader reader, System.Web.HttpContext context) [0x00000]
at System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].get_Parser () [0x00000]
at System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].Parse () [0x00000]
at System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].get_CodeCompilerType () [0x00000]
at System.Web.Compilation.BuildManager.GetCodeDomProviderType (System.Web.Compilation.BuildProvider provider) [0x00000]
at System.Web.Compilation.BuildManager+BuildItem..ctor (System.Web.Compilation.BuildProvider provider) [0x00000]
at System.Web.Compilation.BuildManager.LoadBuildProviders (System.String virtualPath, System.String virtualDir, System.Collections.Generic.Dictionary`2 vpCache, System.Web.Compilation.BuildKind& kind, System.String& assemblyBaseName) [0x00000]
at System.Web.Compilation.BuildManager.BuildAssembly (System.String virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.GetCompiledType (System.String virtualPath) [0x00000]
at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext context) [0x00000]

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

 

3/21/2008 1:43:12 PM
Gravatar
Total Posts 148

Re: Could not load type mojoPortal.Web.MonoPagesConfigSection

I just committed a fix for this to SVN.  The issue is that a settings mapping class moved from System.Web.Util to Mono.Web.Util and mojoPortal was looking for it in the old location.

--Dean

 

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