Hi All,
i have create an application for generating xml file ... it is running on local machine correcctly , while running on web some error are generated
using this line of code i have make the instance of xml file
str = Server.MapPath("./XMLFile/SampleITR1_2010-11.xml")
mXmlDataSet.ReadXml(str)
now here is my remaining coding
.
.
.
lastly
strMessage = Server.MapPath("./XMLFile/")
intRandomNumber = RandomGenerator.Next(1, 100)
mXmlDataSet.WriteXml(strMessage & mPersonDetails.Tables("PerDetails").Rows(0).Item("AssessYear").ToString & "-ITR1-" & str & "-" & intRandomNumber & ".Xml")
but it shows the error of
"Access to the path 'C:\whb\Sites\20614\Web\XMLFile\2010-11-ITR1-XXXXX0000X-48.Xml' is denied. "
what is going wrng or what is the solution for this....
Thanks