I have a web application and I need to update data in XML file named as "Setting.xml". I try this code for get the path:
XmlDocument doc = new XmlDocument();
doc.Load(AppDomain.CurrentDomain.BaseDirectory + "Setting.xml");
I use the web service. This code is work locally good, but after uploading to the server it doesn't work fine. Could you help me, where is the error?