Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Saidi Oussama 28 posts 211 karma points
    Sep 20, 2018 @ 15:41
    Saidi Oussama
    0

    '.', hexadecimal value 0x00, is an invalid character.

    Hi, After Upgrade Umbraco to 7.4.0 when starting I'm getting this error

    Server error in the '/' application.
    '.', hexadecimal value 0x00, is an invalid character.
    Description: An unhandled exception occurred while executing the current web request. Check the stack trace for more information on the error and its origin in the code. 
    
    Exception Details: System.ArgumentException: '.', Hexadecimal value 0x00, is an invalid character. 
    
    Source error: 
    
    Une exception non gérée s'est produite lors de l'exécution de la requête Web actuelle. Les informations relatives à l'origine et l'emplacement de l'exception peuvent être identifiées en utilisant la trace de la pile d'exception ci-dessous.
    
    Trace of the pile: 
    
    
    [ArgumentException: '.', valeur hexadécimale 0x00, est un caractère non valide.]
       System.Xml.XmlEncodedRawTextWriter.WriteAttributeTextBlock(Char* pSrc, Char* pSrcEnd) +758
       System.Xml.XmlEncodedRawTextWriter.WriteString(String text) +76
       System.Xml.XmlWellFormedWriter.WriteString(String text) +138
       System.Xml.XmlWriter.WriteNode(XPathNavigator navigator, Boolean defattr) +328
       System.Xml.XPath.XPathNavigator.get_OuterXml() +554
       UmbracoExamine.UmbracoMemberIndexer.GetMemberItem(Int32 nodeId) +37
       UmbracoExamine.UmbracoMemberIndexer.GetXDocument(String xPath, String type) +146
       UmbracoExamine.BaseUmbracoIndexer.AddNodesToIndex(String xPath, String type) +28
       UmbracoExamine.BaseUmbracoIndexer.PerformIndexAll(String type) +1213
       UmbracoExamine.BaseUmbracoIndexer.IndexAll(String type) +35
       UmbracoExamine.BaseUmbracoIndexer.PerformIndexRebuild() +111
       UmbracoExamine.UmbracoContentIndexer.RebuildIndex() +86
       Umbraco.Web.WebBootManager.<InitializeResolvers>b__f() +176
       Umbraco.Core.Sync.DatabaseServerMessenger.Initialize() +758
       Umbraco.Web.BatchedDatabaseServerMessengerStartup.ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) +87
       Umbraco.Core.ApplicationEventHandler.OnApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) +50
       Umbraco.Core.CoreBootManager.<Complete>b__a(IApplicationEventHandler x) +379
       Umbraco.Core.EnumerableExtensions.ForEach(IEnumerable`1 items, Action`1 action) +167
       Umbraco.Core.CoreBootManager.Complete(Action`1 afterComplete) +419
       Umbraco.Web.WebBootManager.Complete(Action`1 afterComplete) +70
       Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +364
    
    [HttpException (0x80004005): '.', valeur hexadécimale 0x00, est un caractère non valide.]
       System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +520
       System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +176
       System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +165
       System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +267
       System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +341
    
    [HttpException (0x80004005): '.', valeur hexadécimale 0x00, est un caractère non valide.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +523
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +107
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +688
    

    enter image description here

    Any idea about this

    Thx

  • Kevin Jump 2311 posts 14697 karma points MVP 7x c-trib
    Sep 20, 2018 @ 15:49
    Kevin Jump
    0

    Hi Saidi,

    It looks like Examine is failing while indexing your members - it is likely there is something rouge about one or more of your member accounts (it could be charecter encoding so strange charecters in the names).

    To get umbraco up you could comment out the Membership Indexes from ExamineIndex.config and ExamineSettings.config

    Comment out the InternalMemberIndexSet , InternalMemberSearcher and InternalMemberIndexer.

    this will hopefully let the site boot up, and you can have a look to see if any of the members have anything odd looking about them.

    Kevin

  • Steve Smith 75 posts 158 karma points
    Sep 20, 2018 @ 16:24
    Steve Smith
    0

    A few years back, with Umbraco 4.x, we had a similar problem when a content editor pasted in some text/content from a PDF or Word document that contained weird characters. The back office allowed the node to be saved, but it caused other bits of Umbraco break.

    I wonder if its still an issue?

    We resolved it by querying the database for the rogue characters, to find out which node they were in - and edited the node to remove them.

    I wrote a blog about it with some SQL queries (if they're still valid in 7.x) at the time:

    https://umbracotips.blogspot.com/2015/09/errors-when-publishing-node.html

  • Saidi Oussama 28 posts 211 karma points
    Sep 21, 2018 @ 09:41
    Saidi Oussama
    0

    thx for reply,

    Hi Kevin,

    That's helped me to get out of first error but now I get this,

    Erreur du serveur dans l'application '/'.
    Méthode introuvable : 'System.Xml.Linq.XElement Umbraco.Core.Models.ContentExtensions.ToDeepXml(Umbraco.Core.Models.IContent)'.
    Description : Une exception non gérée s'est produite au moment de l'exécution de la requête Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code.
    
    Détails de l'exception: System.MissingMethodException: Méthode introuvable : 'System.Xml.Linq.XElement Umbraco.Core.Models.ContentExtensions.ToDeepXml(Umbraco.Core.Models.IContent)'.
    
    Erreur source:
    
    Une exception non gérée s'est produite lors de l'exécution de la requête Web actuelle. Les informations relatives à l'origine et l'emplacement de l'exception peuvent être identifiées en utilisant la trace de la pile d'exception ci-dessous.
    
    
    Server error in the '/' application.
    Method not found: 'System.Xml.Linq.XElement Umbraco.Core.Models.ContentExtensions.ToDeepXml (Umbraco.Core.Models.IContent)'.
    Description: An unhandled exception occurred while executing the current web request. Check the stack trace for more information on the error and its origin in the code. 
    
    Exception Details: System.MissingMethodException: Method not found: 'System.Xml.Linq.XElement Umbraco.Core.Models.ContentExtensions.ToDeepXml (Umbraco.Core.Models.IContent)'. 
    
    Source error: 
    
    Une exception non gérée s'est produite lors de l'exécution de la requête Web actuelle. Les informations relatives à l'origine et l'emplacement de l'exception peuvent être identifiées en utilisant la trace de la pile d'exception ci-dessous.
    
    Trace of the pile: 
    
    
    [MissingMethodException: Méthode introuvable : 'System.Xml.Linq.XElement Umbraco.Core.Models.ContentExtensions.ToDeepXml(Umbraco.Core.Models.IContent)'.]
       UmbracoExamine.DataServices.UmbracoContentService.GetLatestContentByXPath(String xpath) +0
       UmbracoExamine.BaseUmbracoIndexer.AddNodesToIndex(String xPath, String type) +28
       UmbracoExamine.BaseUmbracoIndexer.PerformIndexAll(String type) +1213
       UmbracoExamine.BaseUmbracoIndexer.IndexAll(String type) +35
       UmbracoExamine.BaseUmbracoIndexer.PerformIndexRebuild() +111
       UmbracoExamine.UmbracoContentIndexer.RebuildIndex() +86
       Umbraco.Web.WebBootManager.Complete(Action`1 afterComplete) +287
       Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +364
    
    [HttpException (0x80004005): Méthode introuvable : 'System.Xml.Linq.XElement Umbraco.Core.Models.ContentExtensions.ToDeepXml(Umbraco.Core.Models.IContent)'.]
       System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +520
       System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +176
       System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +165
       System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +267
       System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +341
    
    [HttpException (0x80004005): Méthode introuvable : 'System.Xml.Linq.XElement Umbraco.Core.Models.ContentExtensions.ToDeepXml(Umbraco.Core.Models.IContent)'.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +523
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +107
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +688
    

    Hi Smith, I do same like on the blog my query is

    SELECT [nodeId],[xml] FROM [dbo].[cmsContentXml] WHERE xml LIKE CONCAT('%',CONVERT(VARCHAR, 0x00),'%');
    

    I tested too on umbracoUser table but here I get all rows :/

  • Saidi Oussama 28 posts 211 karma points
    Sep 21, 2018 @ 10:03
    Saidi Oussama
    100

    Hi I fixed the problem for

    enter image description here

    the problem was that the field userLogin field on umbracoUser contain some Email @ the (0x00 => . ) so I delete the '.' But Now I'm blocked on

    Server error in the '/' application.
    Method not found: 'System.Xml.Linq.XElement Umbraco.Core.Models.ContentExtensions.ToDeepXml (Umbraco.Core.Models.IContent)'.
    Description: An unhandled exception occurred while executing the current web request. Check the stack trace for more information on the error and its origin in the code. 
    
    Exception Details: System.MissingMethodException: Method not found: 'System.Xml.Linq.XElement Umbraco.Core.Models.ContentExtensions.ToDeepXml (Umbraco.Core.Models.IContent)'. 
    
    Source error: 
    
    Une exception non gérée s'est produite lors de l'exécution de la requête Web actuelle. Les informations relatives à l'origine et l'emplacement de l'exception peuvent être identifiées en utilisant la trace de la pile d'exception ci-dessous.
    
    Trace of the pile: 
    
    
    [MissingMethodException: Méthode introuvable : 'System.Xml.Linq.XElement Umbraco.Core.Models.ContentExtensions.ToDeepXml(Umbraco.Core.Models.IContent)'.]
       UmbracoExamine.DataServices.UmbracoContentService.GetLatestContentByXPath(String xpath) +0
       UmbracoExamine.BaseUmbracoIndexer.AddNodesToIndex(String xPath, String type) +28
       UmbracoExamine.BaseUmbracoIndexer.PerformIndexAll(String type) +1213
       UmbracoExamine.BaseUmbracoIndexer.IndexAll(String type) +35
       UmbracoExamine.BaseUmbracoIndexer.PerformIndexRebuild() +111
       UmbracoExamine.UmbracoContentIndexer.RebuildIndex() +86
       Umbraco.Web.WebBootManager.<InitializeResolvers>b__f() +176
       Umbraco.Core.Sync.DatabaseServerMessenger.Initialize() +758
       Umbraco.Web.BatchedDatabaseServerMessengerStartup.ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) +87
       Umbraco.Core.ApplicationEventHandler.OnApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) +50
       Umbraco.Core.CoreBootManager.<Complete>b__a(IApplicationEventHandler x) +379
       Umbraco.Core.EnumerableExtensions.ForEach(IEnumerable`1 items, Action`1 action) +167
       Umbraco.Core.CoreBootManager.Complete(Action`1 afterComplete) +419
       Umbraco.Web.WebBootManager.Complete(Action`1 afterComplete) +70
       Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +364
    
    [HttpException (0x80004005): Méthode introuvable : 'System.Xml.Linq.XElement Umbraco.Core.Models.ContentExtensions.ToDeepXml(Umbraco.Core.Models.IContent)'.]
       System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +520
       System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +176
       System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +165
       System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +267
       System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +341
    
    [HttpException (0x80004005): Méthode introuvable : 'System.Xml.Linq.XElement Umbraco.Core.Models.ContentExtensions.ToDeepXml(Umbraco.Core.Models.IContent)'.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +523
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +107
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +688
    
Please Sign in or register to post replies

Write your reply to:

Draft