Apr 13, 2015 01:17 PM|Siva Krishna Macha|LINK
Check the xml document's inner XML in the debugger on this line:
xmlDoc.Save("C:/Users/Jay/Documents/Visual Studio 2013/WebSites/WebSite3/App_Data/contact_xml.xml");
That should give the clue.
Probably the namespace is missing or XML tags are missing, etc. So, inspecting the xml that is saved in this object "xmlDoc" would give the clue of what is going wrong.