I was trying to import Document Type (.udt file) in Umbraco Version 6.0.3. I am getting below error.
I wanted to import one of document type in version 6.0.3 from version 4.9.0. I even tried by exporting Document type from 6.0.3 itself and then importing back. It is giving same error. Please let me know if anyone has tried.
Error:
"Data at the root level is invalid. Line 1, position 1.
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.XmlException: Data at the root level is invalid. Line 1, position 1.
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:
[XmlException: Data at the root level is invalid. Line 1, position 1.]
Not able to import document type in Version 6.0.3
Hi,
I was trying to import Document Type (.udt file) in Umbraco Version 6.0.3. I am getting below error.
I wanted to import one of document type in version 6.0.3 from version 4.9.0. I even tried by exporting Document type from 6.0.3 itself and then importing back. It is giving same error. Please let me know if anyone has tried.
Error:
"Data at the root level is invalid. Line 1, position 1.
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.XmlException: Data at the root level is invalid. Line 1, position 1.
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:
[XmlException: Data at the root level is invalid. Line 1, position 1.]
System.Xml.XmlTextReaderImpl.Throw(Exception e) +69
System.Xml.XmlTextReaderImpl.Throw(String res, String arg) +116
System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() +5583567
System.Xml.XmlTextReaderImpl.ParseDocumentContent() +193
System.Xml.XmlTextReaderImpl.Read() +215
System.Xml.XmlReader.MoveToContent() +70
System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options) +27
System.Xml.Linq.XElement.Parse(String text, LoadOptions options) +83
umbraco.presentation.umbraco.dialogs.importDocumentType.import_Click(Object sender, EventArgs e) +29
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9553178
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +103
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18034
Hi there
I'm afraid this might be a bug. I suggest you try reporting it on the issue tracker here issues.umbraco.org/issues/U4
Please post the link for the issue in here so others can go and vote it up if they encounter the same issue.
/Jan
Thanks Jan.
Done. http://issues.umbraco.org/issue/U4-2024
Regards-Abhijeet
is working on a reply...