I am using WCF service trying to save xml file, but getting the error
Invalid XML document. The document does not have a root element.
xdHeadera.Save(System.Web.Hosting.HostingEnvironment.MapPath("~/" + fName));
I am using WCF service trying to save xml file, but getting the error
xdHeadera.Save(System.Web.Hosting.HostingEnvironment.MapPath("~/" + fName));