Click here to Skip to main content
14,978,924 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am creating xml file using WCF services.I need to save the xml file in a temperory path.For that,I am using
Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory) + "\\Temp\\";
sr = File.AppendText(strFileName);
sr.WriteLine(sFileContent);
But I cannot write file using sream write....I am getting error."Resource not found"..ie:xml not saving...How to solve it??
Posted
Comments
bluesathish 20-Nov-13 2:32am
   
Post your codes, so that we can analyze what causes this error!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900