Error Processing Xml. There Are Multiple Root Elements
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up XML Error: There are multiple root elements up vote 26 down vote favorite 5 I am getting XML from a web service. Here is what the XML looks like:
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only http://stackoverflow.com/questions/5042902/xml-error-there-are-multiple-root-elements takes a minute: Sign up Why would this XML cause “there are multiple root elements” error? up vote 0 down vote favorite Processing EXE is reporting "System.Xml.XmlException: There are multiple root elements. Line 2, position 2." The XML returned looks like this:
10, 20086 0 0 0 This is the next post in our ongoing FAQ series. See the original post here. Q2: Conformance Level – Fragment There are https://blogs.msdn.microsoft.com/xmlteam/2008/09/10/frequently-asked-questions-on-xml-in-net-part-2/ times when you want to work with a piece of XML that is http://kb.act.com/app/answers/detail/a_id/38121/~/error%3A-%E2%80%9Cerror-exception%3A-there-are-multiple-root-elements.-line-2,-position not a fully conformant xml document; an example of this is when the XML does not have one root element. This type of XML is called an XML fragment. Here is an example of an XML fragment: “
use the previous link instead. Select a product Sort by Default Summary New or Updated Description Date Updated Direction Ascending Descending Helpful search tips Find the answer to your question Error: “Error Exception: There are multiple root elements. Line 2, position 2.System.Xml.XmlException: There are multiple root elements. Line 2, position 2.” when trying to register Act! v17 Premium using Act! Anywhere Subscription license. Answer ID 38121 | Updated 09/10/2016 12:26 PM Symptom: Error: “Error Exception: There are multiple root elements. Line 2, position 2.System.Xml.XmlException: There are multiple root elements. Line 2, position 2.” when trying to register Act! v17 Premium using Act! Anywhere Subscription license. Product: Product Family: Act! Product: Act! Premium Version: v17 Cause: This issue occurs when Act! v17 Premium is already registered with a Perpetual serial number. Solution: Launch Act! Click on help menu and select Register Act! Remove the existing perpetual serial number which is already present here Register Act! using the Act! Anywhere Subscription License WARNING! This KB article (including any software and related documentation) is provided "AS IS." Swiftpage disclaims all express or implied warranties of any kind with respect to the article, including but not limited to, any implied warranties of merchantability or fitness for a particular purpose. ©2016 Swiftpage ACT! LLC. All rights reserved. Swiftpage, ACT!, and the Swiftpage product and service names mentioned herein are registered trademarks or trademarks of Swiftpage ACT! LLC, or its affiliated entities. All other trademarks are property of their respective owners. Still have questions? Check out the community or submit a support ticket. Was this answer helpful? Yes No Please use this form to submit your suggestion on what you think could make this answer more useful.IMPORTANT: Questions and requests for assistance cannot be answered through this form. For questions or to request technical assistance, visit our community or submit a support ticket. E-mail *Required Please enter feedback for this article: *Required Additional Details Answer ID 38121 Products Act! Date Updated 09/10/2016 12:26 PM Answers others found helpful Error: "Unable to cast COM object of type 'Microsoft.Office.Interop.Outlook.Applicatio