I have uploaded my application on domain, in my application there s a folder naming XMLFile in this folder i have an xml File to which i am getting refrence like this
str = Server.MapPath("~XMLFile\SampleITR1_2010-11.xml") .............
then after comleting my work have to save that xml in same folder like this
strMessage = Server.MapPath("~XMLFile")
intRandomNumber = RandomGenerator.Next(1, 100)
mXmlDataSet.WriteXml(strMessage & "-ITR1-" & "-" & intRandomNumber & ".Xml")
but there is some error like
Could not find a part of the path 'C:\whb\Sites\20614\Web\~XMLFile\SampleITR1_2010-11.xml'.
then what is going wrong