﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » XmlException-Root element is missing</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 02:18:38 GMT</lastBuildDate><ttl>20</ttl><item><title>XmlException-Root element is missing</title><link>http://forum.strataframe.net/FindPost10904.aspx</link><description>I am getting this at a customer site on a program that has been running without any changes to the program or environment for months, any idea where to start on this one?&lt;/P&gt;&lt;P&gt;XmlException&lt;BR&gt;&amp;nbsp;Root element is missing.&lt;/P&gt;&lt;P&gt;Source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : System.Xml&lt;/P&gt;&lt;P&gt;Stack Trace: &lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlTextReaderImpl.Throw(Exception e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlTextReaderImpl.ParseDocumentContent()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlTextReaderImpl.Read()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlTextReader.Read()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlReader.MoveToContent()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.DataSet.ReadXml(XmlReader reader, XmlReadMode mode, Boolean denyResolving)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.DataSet.ReadXml(String fileName, XmlReadMode mode)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Xml.XmlBasics.OpenXmlFile(String CurrentVersion, String TableName, String PathAndFileName, List`1 ColumnStructure)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Xml.XmlBasics.OpenXmlFile(String Version, String TableName, String PathAndFileName, List`1 ColumnStructure, Boolean DecryptFile)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Data.BusinessObjects.DbeApplicationData.FillAll()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Data.ConnectionManager.SetConnections()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at bayshore_scan.AppMain.SetDataSources()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Application.StrataFrameApplication.Raise_SetDataSources()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Application.StrataFrameApplication.RunApplication()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at bayshore_scan.AppMain.Main()</description><pubDate>Fri, 17 Aug 2007 14:39:53 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: XmlException-Root element is missing</title><link>http://forum.strataframe.net/FindPost10922.aspx</link><description>[quote]&lt;SPAN id=ctl02_ctlTopic_ctlPanelBar_ctlTopicsRepeater_ctl11_lblFullMessage&gt;This worked like a harm. You say this was a known issue that has already been fixed?&lt;/SPAN&gt;[/quote]&lt;/P&gt;&lt;P&gt;Yeah.&amp;nbsp; We changed the XMLBasics class to no longer do an in-place conversion for any encrypted file.&amp;nbsp; You generally only run into something like this when they try to execute the program twice in a row on a slower machine or something of that nature.&amp;nbsp; We changed this so that you can click it a thousand times and not have the issue because it creates a temp file or opens the file in memory so that there is never an issue with the file being decrypted twice.&amp;nbsp; At any rate, it is fixed. :)&lt;/P&gt;&lt;P&gt;[quote]So I can file it in the back of my mind for existing 1.5-1.6.0 installs and forget about it for anything more recent?[/quote]&lt;/P&gt;&lt;P&gt;Correct.&lt;/P&gt;&lt;P&gt;[quote]Thank you once again for the fast reply, my customer was very happy with the turnaround of less than 1/2 a day, which in the end is what matters to us all[/quote]&lt;/P&gt;&lt;P&gt;Hey, I totally know what it is like to deal with something in the field when an end-user is trying to use your software and they are having a problem....so I have total compasion, brother :)&amp;nbsp; Glad to help :)</description><pubDate>Fri, 17 Aug 2007 14:39:53 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: XmlException-Root element is missing</title><link>http://forum.strataframe.net/FindPost10917.aspx</link><description>Worked like a [b]charm[/b], that is.&lt;br&gt;
&lt;br&gt;</description><pubDate>Fri, 17 Aug 2007 08:41:42 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: XmlException-Root element is missing</title><link>http://forum.strataframe.net/FindPost10916.aspx</link><description>This worked like a harm. You say this was a known issue that has already been fixed?&lt;br&gt;
&lt;br&gt;
So I can file it in the back of my mind for existing 1.5-1.6.0 installs and forget about it for anything more recent?&lt;br&gt;
&lt;br&gt;
Thank you once again for the fast reply, my customer was very happy with the turnaround of less than 1/2 a day, which in the end is what matters to us all :)</description><pubDate>Fri, 17 Aug 2007 08:40:50 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: XmlException-Root element is missing</title><link>http://forum.strataframe.net/FindPost10914.aspx</link><description>Awesome I will try first thing in the AM.</description><pubDate>Thu, 16 Aug 2007 17:28:05 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: XmlException-Root element is missing</title><link>http://forum.strataframe.net/FindPost10910.aspx</link><description>Yeah, they corrupted the connection.dat files on their local machine.&amp;nbsp; We changed the 1.6.1 version to not do in place file conversions, but to correct the issue just remove the connections.dat and the appkeys.dat files on their local machine then go back in.&amp;nbsp; You will have to re-setup the connection string but you should be good after that.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/226343eb-c9d1-4371-907a-d523.png"&gt;</description><pubDate>Thu, 16 Aug 2007 16:32:53 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>