villagecirc
12-02-2003, 09:32 AM
When I open a database to use the dataset.WriteXML(xml path name) within a C# visual studio web aplication I am unsure what the path should be. The default path is pointing to the location of the virtual directory on my home PC not the server default path. I tried useing a similiar path that connected the database itself that resided in the webconfig file like this
MYDS.WriteXml("E:/web/villagecirc/BTUpdate/Event.xml");
I am assuming that this path is probably probing my E: drive which is a cdr but all joking aside is their anyway to go about pointing in to a the server path instead of my home pc path. If anyone has successfully written to a xml file I would greatly apreciate any and all help in the matter. I was able to write the xml file as a local host housing the xml file on my home pc. So I completely know that it is a path problem but do not know how to go about pointing to the right server path. Even if I did I wonder if the server would restrict access to the xml file as it does not have general write procedures. Perhaps their is an applied path funtion I can use.
Thank you in advance for any and all help in the matter....[8D]
Matthew H. Paulson
matt@villagecircle.net
http://www.villagecircle.net
MYDS.WriteXml("E:/web/villagecirc/BTUpdate/Event.xml");
I am assuming that this path is probably probing my E: drive which is a cdr but all joking aside is their anyway to go about pointing in to a the server path instead of my home pc path. If anyone has successfully written to a xml file I would greatly apreciate any and all help in the matter. I was able to write the xml file as a local host housing the xml file on my home pc. So I completely know that it is a path problem but do not know how to go about pointing to the right server path. Even if I did I wonder if the server would restrict access to the xml file as it does not have general write procedures. Perhaps their is an applied path funtion I can use.
Thank you in advance for any and all help in the matter....[8D]
Matthew H. Paulson
matt@villagecircle.net
http://www.villagecircle.net