The SaveAs method is configured to require a rooted path, and the path 'fp' is not rooted
<p>I am doing Image uploader in Asp.net and I am  giving following code under my controls:</p>

<pre><code>    string st;
    st = tt.PostedFile.FileName;
    Int32 a;
    a = st.LastIndexOf("\\");
    string fn;
    fn = st.Substring(a + 1);
    string fp;
    fp = Server.MapPath(" ");
    fp = fp + "\\";
    fp = fp + fn;
    tt.PostedFile.SaveAs("fp");
</code></pre>

<p>But during uploading or saving image the error message comes that The <strong>SaveAs method is configured to require a rooted path, and the path 'fp' is not rooted.</strong> 
So Please help me what is the problem</p>
