your file should be like as below. i remove "-" from it and then i load xml from asp dot net i got the success. i done code as below.
XmlDocument xDoc = new XmlDocument();
xDoc.Load(@"<your path="" here="">");
</your>
Your Xml Should be
<documentelement>
<location>
<id>NMBM Test</id>
<databasename>ICMAStest</databasename>
<webservername>ICMAS-TEST</webservername>
<databaseservername>ICMAS-TEST\SQLEXPRESS</databaseservername>
<clientsettingsprovider.serviceuri />
<rpturl>http://icmas-test/ReportServer_SQLEXPRESS</rpturl>
<reportpath>/ICMASReports/</reportpath>
<reportserverusername>NALIN</reportserverusername>
<reportserverpassword>temp123</reportserverpassword>
<smtpserverid>10.100.0.80</smtpserverid>
</location>
<location>
<id>NMBM Production</id>
<databasename>ICMAStest</databasename>
<webservername>ICMAS-TEST</webservername>
<databaseservername>ICMAS-TEST\SQLEXPRESS</databaseservername>
<clientsettingsprovider.serviceuri />
<rpturl>http://icmas-test/ReportServer_SQLEXPRESS</rpturl>
<reportpath>/ICMASReports/</reportpath>
<reportserverusername>NALIN</reportserverusername>
<reportserverpassword>temp123</reportserverpassword>
<smtpserverid>10.100.0.80</smtpserverid>
</location>
</documentelement>