title: The SaveAs method is configured to require a rooted path, and the path '~\\images\\594083964.jpg' is not rooted
body: <p>The SaveAs method is configured to require a rooted path, and the path '~\images\594083964.jpg' is not rooted.
  Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.</p>
  
  <p>Exception Details:</p>
  
  <blockquote>
    <p>System.Web.HttpException: The SaveAs method is configured to require a rooted path, and the path '~\images\594083964.jpg' is not rooted.</p>
  </blockquote>
  
  <p>Source Error:</p>
  
  <pre><code>Line 27:     {
  Line 28: 
  Line 29:         fu1.SaveAs(@"~\\images\\" + i + fu1.FileName.Substring(fu1.FileName.Length - 4, 4));
  Line 30: path = "~\\images\\"+i + fu1.FileName.Substring(fu1.FileName.Length-4,4);
  Line 31: }
  </code></pre>
  
  <p>Source File: e:\PEOPLE\Ravi\new data\WebSite1\signup.aspx.cs    Line: 29</p>