The parent type does not derive from System.Web.UI.Page

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.
1/26/2008 12:02:53 PM
Gravatar
Total Posts 2

The parent type does not derive from System.Web.UI.Page

I installed MojoPortal from the Novell build repositories -

awilliam@aleph:~> rpm -q mojoportal
mojoportal-2.2.3.6-1.4
awilliam@aleph:~> rpm -q mono-core
mono-core-1.2.6-4.novell
awilliam@aleph:~> rpm -q apache2-mod_mono
apache2-mod_mono-1.2.6-1.suse103.novell
 

 - and MojoPortal works, sort of.  If I hit the settings pages for any of the feature modules (blog, forum, etc...) it dies with an HTTP 500 Error -

System.Web.Compilation.ParseException: The parent type does not derive from System.Web.UI.Page
at System.Web.UI.BaseParser.ThrowParseException (System.String message, System.Object[] parms) [0x00000]
at System.Web.UI.TemplateParser.SetBaseType (System.String type) [0x00000]
at System.Web.UI.TemplateParser.ProcessMainAttributes (System.Collections.Hashtable atts) [0x00000]
at System.Web.UI.TemplateControlParser.ProcessMainAttributes (System.Collections.Hashtable atts) [0x00000]
at System.Web.UI.PageParser.ProcessMainAttributes (System.Collections.Hashtable atts) [0x00000]
at System.Web.UI.TemplateParser.AddDirective (System.String directive, System.Collections.Hashtable atts) [0x00000]
at System.Web.UI.TemplateControlParser.AddDirective (System.String directive, System.Collections.Hashtable atts) [0x00000]
at System.Web.UI.PageParser.AddDirective (System.String directive, System.Collections.Hashtable atts) [0x00000]
at System.Web.Compilation.AspGenerator.TagParsed (ILocation location, TagType tagtype, System.String tagid, System.Web.Compilation.TagAttributes attributes) [0x00000]
at System.Web.Compilation.AspParser.OnTagParsed (TagType tagtype, System.String id, System.Web.Compilation.TagAttributes attributes) [0x00000]
at System.Web.Compilation.AspParser.Parse () [0x00000]
at System.Web.Compilation.AspGenerator.Parse (System.String file) [0x00000]
at System.Web.Compilation.AspGenerator.Parse () [0x00000]
at System.Web.Compilation.AspGenerator.GetCompiledType () [0x00000]
at System.Web.UI.PageParser.CompileIntoType () [0x00000]
at System.Web.UI.TemplateControlParser.GetCompiledInstance () [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) [0x00000]
at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () [0x00000]

Bummer. :(  I'd really like to migrate away from Drupal. :)

 

1/26/2008 1:13:33 PM
Gravatar
Total Posts 18439

Re: The parent type does not derive from System.Web.UI.Page

Hi,

Sorry to hear that, admittedly the .rpms had little testing. I need to learn some things before I can get invloved in updating them myself.

The rpms also have an older version of mojoPortal. I'm able to run the latest 2.2.4.6 mojoportal mono build from our download page on mono 1.2.6, though I admit it only worked for me using xsp2 from the command line. I get errors when I try to use mod_mono. I reported it to the list a while back.

Also currently there are significant style bugs on mono due to a not yet implemented feature. As I understand its going to be implemented soon and that problem will go away.

I'm in the process now of setting up to test on the latest mono from svn because they are getting ready to branch it for the Mono 1.9 release.

Bes Regards,

Joe

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