Unexpected error: Name cannot begin with the '<' character,
henkli
Posts: 2
I could not get the SQL Data Compare command line tool supplied in the cumulative patch (2010-11-04) to work, despite my best efforts. The command line tool worked for me prior to the cumulative patch.
I tried changing all the XML files I could find in the Data Compare directory, but was unable to find one with any offending XML data.
Running on Windows 7 Ultimate x64:
I tried changing all the XML files I could find in the Data Compare directory, but was unable to find one with any offending XML data.
Running on Windows 7 Ultimate x64:
C:\Program Files (x86)\Red Gate\SQL Data Compare 8>SQLDataCompare.exe Unexpected error: Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 28, position 3. Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 28, position 3. System.Xml.XmlException at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String[] args) at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos) at System.Xml.XmlTextReaderImpl.ParseElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlTextReader.Read() at System.Xml.XmlCharCheckingReader.Read() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at g.a(XmlSchema , Stream , Boolean ) at g..ctor(Stream metaDefinitionIn, Boolean useCommon, Boolean schemaValidate) at RedGate.Shared.Utils.CommandLine.CommandLine.ParseCommandLine(Stream metaDefinitionIn, String[] args, Boolean useCommon, Boolean schemaValidate) at RedGate.Shared.Utils.CommandLine.CommandLine.ParseCommandLine(Stream metaDefinitionIn, String[] args) at RedGate.SQLDataCompare.CommandLine.Startup.a(String[] )
Comments
Can't start SQLDataCompare in a command prompt, even without any arguments.
Very, very annoying, since I am in the middle of testing Data Compare for the bank I'm working for.
Please advise asap.
We've updated the patch to fix this, so please get the latest installer from the cumulative patch thread here
Redgate Software
Unexpected error: Name cannot begin with the '<' character, hexadecimal value
0x3C. Line 28, position 3.
Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 28, posit
ion 3.
System.Xml.XmlException
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String[] args)
at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset
, Int32& colonPos)
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlCharCheckingReader.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean prese
rveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at g.a(XmlSchema , Stream , Boolean )
at g..ctor(Stream metaDefinitionIn, Boolean useCommon, Boolean schemaValidate
)
at RedGate.Shared.Utils.CommandLine.CommandLine.ParseCommandLine(Stream metaD
efinitionIn, String[] args, Boolean useCommon, Boolean schemaValidate)
at RedGate.Shared.Utils.CommandLine.CommandLine.ParseCommandLine(Stream metaD
efinitionIn, String[] args)
at RedGate.SQLDataCompare.CommandLine.Startup.a(String[] )
We should have this fixed by Monday.
David
Product Manager
Redgate Software
David
Product Manager
Redgate Software
I will work through our test today and give final feedback when done, hopefully in a few hours time.
David
Product Manager
Redgate Software