Copied to clipboard

Flag this post as spam?

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


  • Daniel 20 posts 40 karma points
    Aug 04, 2011 @ 20:51
    Daniel
    0

    invalid character ... server / stack error

    Getting this weird-ass bug when I try to publish a specific page type.

    I gathered as much as there's an invalid character somewhere, but in which document to find it I have no idea. I had a look through my code and found no errors myself, checked even in VWD and it found no problems.

    [XmlException: '', hexadecimal value 0x03, is an invalid character. Line 3, position 82.]
       System.Xml.XmlTextReaderImpl.Throw(Exception e) +73
       System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) +84
       System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos) +46
       System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type, Int32& outStartPos, Int32& outEndPos) +4108480
       System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type) +84
       System.Xml.XmlTextReaderImpl.ParseElementContent() +4114491
       System.Xml.XmlTextReaderImpl.Read() +34
       System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) +57
       System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) +20
       System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +131
       System.Xml.XmlDocument.Load(XmlReader reader) +114
       umbraco.cms.businesslogic.CMSNode.GetPreviewXml(XmlDocument xd, Guid version) +291
       umbraco.cms.businesslogic.web.Document.ToPreviewXml(XmlDocument xd) +117
       umbraco.presentation.preview.PreviewContent.PrepareDocument(User user, Document documentObject, Boolean includeSubs) +164
       umbraco.presentation.dialogs.Preview.Page_Load(Object sender, EventArgs e) +202
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.Web.UI.Control.OnLoad(EventArgs e) +91
       umbraco.BasePages.BasePage.OnLoad(EventArgs e) +14
       System.Web.UI.Control.LoadRecursive() +74
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

    How the heck do I get rid of this?

  • bob baty-barr 1180 posts 1294 karma points MVP
    Aug 04, 2011 @ 21:42
    bob baty-barr
    0

    this type of error is typically related to error in one of the xml files... open the main umbraco xml file -- in app_data in later versions of umbraco and see if there are wierd NULL characters at the end...

    also could be in the language files in umbraco/config/lang folder... i found this in all of my lang files after uploading via ftp just the other day.

     

    hope this helps.

  • Daniel 20 posts 40 karma points
    Aug 04, 2011 @ 21:46
    Daniel
    0

    That's odd, I thought I had deleted this post - as I discovered the error about 2 minutes after I posted this.

    The trouble was that I had been doing some bughunting earlier and editited tinyMceConfig.config and set a value wrong.

  • Dan 1288 posts 3921 karma points c-trib
    Apr 06, 2012 @ 12:02
    Dan
    0

    I had this issue just now with 4.7.1.1.  It seems to be due to a small chunk of text I'm copying/pasting from Photoshop.  Even running it through Notepad doesn't clear it up.  It turned out to be some weird invisible line-break character.  It was possible to strip this out just by manually deleting it in the 'textboxmultiple' editor (which is the data type I've had the issue with).

  • Scott Drummond 9 posts 35 karma points
    May 07, 2013 @ 12:00
    Scott Drummond
    1

    I had this issue in 6.05 - It was a copying/pasting from Photoshop issue as well.
    I just copied the text into sublimetext. It showed up the ETX chracter that caused the issue.
    Deleted it and pasted back...and it works. 

     

  • Rich Green 2246 posts 4008 karma points
    Jul 22, 2013 @ 18:13
    Rich Green
    0

    Still present is 6.1.2

  • Rich Green 2246 posts 4008 karma points
    Jul 22, 2013 @ 18:17
    Rich Green
    0

    Running 'ZapGremlins' from the menu in TextWrangler (Mac) sorted this :)

  • Kelly McCormack 1 post 23 karma points
    Mar 11, 2014 @ 23:07
    Kelly McCormack
    2

    Just registered so I can't vote, but Scott Drummond's reply was my issue as well.

    Umbraco 7.0.4, pasting in text to the RTE from Photoshop CC. Pasted into Notepad++ and saw the hidden EXT special characters. Stripped those out and could publish the item OK.

  • Abu Ali Muhammad sharjeel 13 posts 74 karma points
    Jun 22, 2014 @ 20:49
    Abu Ali Muhammad sharjeel
    0

    I am developing my Brazilian () client website and the following text is in his language. how this will work because it is giving the same error and it has those EXT.

    A gradual expansão para áreas de negócio, como as obras públicas, e a protecção anticorrosiva, levou à criação de empresas distintas: Electrofer - Tratamento de Superfície,e Electrofer II - Construções Metálicas.

Please Sign in or register to post replies

Write your reply to:

Draft