c# - XmlException: Name cannot begin with the '<' character in Silverlight xaml designer -
since morning, try fix no result yet. dont make sense. working yesterday today got error. interesting thing line 7404, not have such large line of code.
xmlexception: name cannot begin '<' character, hexadecimal value 0x3c. line 7404, position 64.
stacktrace
at system.xml.xmltextreaderimpl.throw(exception e) @ system.xml.xmltextreaderimpl.throw(string res, string[] args) @ system.xml.xmltextreaderimpl.parseattributes() @ system.xml.xmltextreaderimpl.parseelement() @ system.xml.xmltextreaderimpl.parseelementcontent() @ system.xml.xmltextreaderimpl.read() @ system.xml.linq.xcontainer.readcontentfrom(xmlreader r) @ system.xml.linq.xcontainer.readcontentfrom(xmlreader r, loadoptions o) @ system.xml.linq.xdocument.load(xmlreader reader, loadoptions options) @ system.xml.linq.xdocument.parse(string text, loadoptions options) @ esri.arcgis.client.toolkit.datasources.wmslayer.client_downloadstringcompleted(object sender, downloadstringcompletedeventargs e) @ system.net.webclient.ondownloadstringcompleted(downloadstringcompletedeventargs e) @ system.net.webclient.downloadstringoperationcompleted(object arg)
the downloaded xml not valid. exception message refers returned xml, you´ll have go line 7404, position 64 of returned xml , see how error occured.
Comments
Post a Comment