Error in ProfileView.aspx

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
5/7/2010 8:31:54 AM
Gravatar
Total Posts 19

Error in ProfileView.aspx

Hi!

I've encountered a strange error in ProfileView.aspx.

If an user has signature then when anybody tries to view the profile, there's an unhandled exception:

The 'http://www.w3.org/1999/xhtml:ruby' element is not declared.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Xml.Schema.XmlSchemaException: The 'http://www.w3.org/1999/xhtml:ruby' element is not declared.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[XmlSchemaException: The 'http://www.w3.org/1999/xhtml:ruby' element is not declared.]
System.Xml.Schema.BaseProcessor.SendValidationEvent(XmlSchemaException e, XmlSeverityType severity) +1571550
System.Xml.Schema.BaseProcessor.SendValidationEvent(XmlSchemaException e) +6
System.Xml.Schema.SchemaCollectionCompiler.CompileElement(XmlSchemaElement xe) +2059
System.Xml.Schema.SchemaCollectionCompiler.CompileParticleElements(XmlSchemaComplexType complexType, XmlSchemaParticle particle) +102
System.Xml.Schema.SchemaCollectionCompiler.CompileParticleElements(XmlSchemaComplexType complexType, XmlSchemaParticle particle) +771
System.Xml.Schema.SchemaCollectionCompiler.CompileParticleElements(XmlSchemaComplexType complexType, XmlSchemaParticle particle) +771
System.Xml.Schema.SchemaCollectionCompiler.CompileParticleElements(XmlSchemaComplexType complexType, XmlSchemaParticle particle) +771
System.Xml.Schema.SchemaCollectionCompiler.CompileCompexTypeElements(XmlSchemaComplexType complexType) +101
System.Xml.Schema.SchemaCollectionCompiler.Compile() +1364
System.Xml.Schema.SchemaCollectionCompiler.Execute(XmlSchema schema, SchemaInfo schemaInfo, Boolean compileContentModel) +42
System.Xml.Schema.XmlSchema.CompileSchema(XmlSchemaCollection xsc, XmlResolver resolver, SchemaInfo schemaInfo, String ns, ValidationEventHandler validationEventHandler, XmlNameTable nameTable, Boolean CompileContentModel) +185
System.Xml.Schema.XmlSchema.Compile(ValidationEventHandler validationEventHandler) +69
Brettle.Web.NeatHtml.XssFilterInfo..ctor(String schemaLocation) +144
Brettle.Web.NeatHtml.XssFilter.GetForSchema(String schemaLocation) +108
mojoPortal.Web.Framework.SecurityHelper.GetXssFilter() +194
mojoPortal.Web.Framework.SecurityHelper.PreventCrossSiteScripting(String html, String errorHeader, Boolean removeMarkupOnFailure) +39
mojoPortal.Web.Framework.SecurityHelper.PreventCrossSiteScripting(String html) +60
mojoPortal.Web.Configuration.mojoProfilePropertyDefinition.SetupReadOnlyPropertyControl(Panel parentControl, mojoProfilePropertyDefinition propertyDefinition, String propertyValue, Double timeZoneOffset) +1136
mojoPortal.Web.UI.Pages.ProfileView.ShowAuthenticatedProperties(SiteUser siteUser) +208
mojoPortal.Web.UI.Pages.ProfileView.PopulateControls() +723
mojoPortal.Web.UI.Pages.ProfileView.Page_Load(Object sender, EventArgs e) +112
System.Web.UI.Control.OnLoad(EventArgs e) +99
mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) +12
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

You can see this error here: http://dodomu.art.pl/ProfileView.aspx?userid=19

I have up to date version of mojoportal (2.3.1.9) running on windows 2003 server with MSSQL database

Hope you can help me :)

 

S.

5/7/2010 1:10:13 PM
Gravatar
Total Posts 18439

Re: Error in ProfileView.aspx

Hi,

The only way to fix it right away is to manage the user and remove incorrect markup from the signature. There is something invalid in his signature that is causing this error. I will put better error handling there for the future, but to fix it now clean up his signature.

Hope it helps,

Joe

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