Technical support This forum is closed.
Version 1.x > Technical support > Error when trying to add new pages through cmsdesk View modes: 
User avatar
Member
Member
mbuckley - 2/5/2006 8:13:21 PM
   
Error when trying to add new pages through cmsdesk
I am trying to add new content pages through the admin and am recieving the following error. It looks like I have a web.config key wrong somewhere. Can anyone point me to the key I should be checking for the following error:

The data at the root level is invalid. Line 16, position 13. (stack trace).


the address on the site i am using is not the default "/" it is one folder deep, so the root of the site is something like www.test.com/newsite


Thanks,

Mike

User avatar
Member
Member
mbuckley - 2/5/2006 9:57:38 PM
   
Re: Error when trying to add new pages through cmsdesk
Here is the stack trace

[XmlException: The data at the root level is invalid. Line 16, position 13.]
System.Xml.XmlTextReader.ParseRoot() +323
System.Xml.XmlTextReader.Read() +127
System.Xml.XmlValidatingReader.ReadNoCollectTextToken() +38
System.Xml.XmlValidatingReader.Read() +14
System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) +31
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +102
System.Xml.XmlDocument.Load(XmlReader reader) +72
System.Xml.XmlDocument.Load(String filename) +78
Kentico.CMS.CMSDesk.CMS_MenuItemType.SetValues() +365
Kentico.CMS.CMSDesk.CMS_MenuItemType.Page_Load(Object sender, EventArgs e) +602
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Control.AddedControl(Control control, Int32 index) +307
System.Web.UI.ControlCollection.Add(Control child) +153
Kentico.CMS.Form.BasicForm.LoadData(DataRow dr) +18752
Kentico.CMS.Form.BasicForm.CreateChildControls() +22
System.Web.UI.Control.EnsureChildControls() +100
System.Web.UI.Control.PreRenderRecursiveInternal() +38
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Page.ProcessRequestMain() +1499

User avatar
Guest
admin - 2/6/2006 1:27:08 PM
   
Re: Error when trying to add new pages through cmsdesk
Hello,

Thank you for your message. It seems the metadata in your web project may be corrupted. Could you please send me the content of your <web project>\cmsdesk\metadata\cms\menuitem folder to petr.palas@kentico.com?

Thank you.

Best Regards,