mid.gif (2241 bytes)
FormMenuStart.gif (2069 bytes) FormMenuEnd.gif (441 bytes)
Knowledgebase Article 1651
FormHorizontalLine.gif
PROBLEM

The following appears when attempting to start PR-Tracker.

<?xml version="1.0"?>
<ExceptionInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Message>There is an error in XML document (0, 0).</Message>
<Product>PR-Tracker</Product>
<Version>6.0.452.0</Version>
<Configuration>
WindowsVersion=Microsoft Windows XP, 5.1, Service Pack 2, Build
</Configuration>
<EventList>
Start Program
</EventList>
<SignatureCode>747800</SignatureCode>
<Trace>
There is an error in XML document (0, 0).

at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)

at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)

at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)

at Prtracker6.Helper`1.LoadFromXmlFile(String pathname)

at Prtracker6.Program.InitViewSettings()

at Prtracker6.Program.Main()



Root element is missing.

at System.Xml.XmlTextReaderImpl.Throw(Exception e)

at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)

at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

at System.Xml.XmlTextReaderImpl.Read()

at System.Xml.XmlTextReader.Read()

at System.Xml.XmlReader.MoveToContent()

at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderViewSettings.Read6_ViewSettings()
</Trace>
</ExceptionInfo>

At this point the program fails to work and we're unable to connect. This occurs on one computer only.

SOLUTION

This means there the PR-Tracker ViewSettings.xml file is corrupted. You can get around the error by deleting the ViewSettings.xml file. PR-Tracker will automatically create a new ViewSettings.xml file for you. However, you will lose all the Views you created for PR-Tracker. So instead you may want to rename the ViewSettings.xml file and copy some of the xml into the new ViewSettings.xml file so that you can recover most of your PR-Tracker Views.

The location of the view settings file depends on the operating system and the Windows user's login name. It is also stored in a hidden directory. On XP and 2003 computers the file is located at

C:\Documents and Settings\[Windows login name]\Local Settings\Application Data\PR-Tracker

On Windows 7 and 2008 ViewSettings.xml is stored in forlder

C:\Users\[Windows login name]\AppData\Local\PR-Tracker
CornerLeft.gif (244 bytes) CornerRight.gif (244 bytes)

 

endln.gif (223 bytes)
Nine tips for effective bug tracking | Home | Site Map | Search Knowledgebase