Occasional error with Configuration\AutoConfigure\Default.config, why?

Last post 03-07-2006, 6:30 PM by mdurli. 2 replies.
Sort Posts: Previous Next
  •  03-07-2006, 6:44 AM 16787

    Occasional error with Configuration\AutoConfigure\Default.config, why?

    Hello,

    sometimes I receive this error:

    System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> System.Exception: Error On D:\users\soridp\aiisf.com\CommonCode\CuteSoft_Client\CuteEditor\Configuration\AutoConfigure\Default.config ---> System.Xml.XmlException: The data at the root level is invalid. Line 161, position 17.
    at System.Xml.XmlTextReader.ParseRoot()
    at System.Xml.XmlTextReader.Read()
    at System.Xml.XmlValidatingReader.ReadNoCollectTextToken()
    at System.Xml.XmlValidatingReader.Read()
    at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    at System.Xml.XmlDocument.Load(XmlReader reader)
    at System.Xml.XmlDocument.Load(String filename)
    at CuteEditor.Impl.EditorProvider.LoadCachedXmlConfiguration(HttpContext context, ArrayList files)

    can you help?
    Thanks
  •  03-07-2006, 4:07 PM 16806 in reply to 16787

    Re: Occasional error with Configuration\AutoConfigure\Default.config, why?

    It looks like Default.config contains the invalid node.
     
    Have you modified this XML file?
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-07-2006, 6:30 PM 16815 in reply to 16806

    Re: Occasional error with Configuration\AutoConfigure\Default.config, why?

    No I haven't modified the file.

    The data at the root level is invalid. Line 161, position 17.
    Line 161 is </toolbars> and there is no position 17.

    When page starts, CuteEditor is inside a table that is NOT visible.
    In the Autoconfigure field there is "Default".
    The error happens here, only occasionally, when the page is displayed for the first time.

    Then, when I make CuteEditor visible, I also set:
    CuteEditorHtml.ConfigurationPath = "~/CommonCode/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/w_full.config";
    where w_full.config is my config.


    Thanks,
    Mattia

View as RSS news feed in XML