I'm trying to access the current directory (the one in which my application is installed). I thought it'd be as easy as:
To create/write to a file within App_Data folder do somethiing like : System.IO.StreamWriter writer; string path = Server.MapPath("~/App_Data"); writer = System.IO.File.CreateText(path+"/abc.txt"); writer.WriteLine("abc"); writer.Close(); Vikram DiscountASP.NET www.DiscountASP.NET
by default, your asp.net application should have write permission to all directories within your site root. Bruce DiscountASP.NET www.DiscountASP.NET