Hi Mate
you need to use
Server.MapPath when reading from
localhost , check following code hope it helps
if (!Directory.Exists(Server.MapPath("~/App_Data/" + Market)))
{
Directory.CreateDirectory(Server.MapPath("~/App_Data/" + Market));
}
above code works for me
Regards