title: ASP.NET: Uploading files error "The given path's format is not supported"
body: <p>I'm trying to save files </p>
  
  <pre><code>string path= "~/Pre/IntraExtra/" + Session["id"].ToString() + "_" + FileUpload1.FileName;
  FileUpload11.SaveAs(Server.MapPath(path));
  </code></pre>
  
  <p>but it gives this error "The given path's format is not supported." </p>
  
  <hr>
  
  <p>It is working now .. 
  I just removed the (~/) , Thank you all </p>