Can upload file with fileupload control but cannot access file
<p>I can upload file (source below The file is uploaded I checked with rdp.) but I cannot access it in browser (.docx): file or directory not found. what should I do </p>

<pre><code>protected void Button1_Click(object sender, EventArgs e)
{
    if (FileUpload1.HasFile)
    {
        try
        {
            string filename = Path.GetFileName(FileUpload1.FileName);
            FileUpload1.SaveAs(Server.MapPath("~/") + filename);
            Label1.Text = "Upload status: File uploaded!";
        }
        catch (Exception ex)
        {
            Label1.Text = "Upload status: The file could not be uploaded. The following error occured: " + ex.Message;
        }
    }

}
</code></pre>
