Author: balaraghav | Posted on: 1/7/2010 12:03:57 AM | Views : 463

Hi All,
        I have created an application to upload files to a mapped network drive(say: Z:\), but is showing the error:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'Z:\****\********'.
What i did:
Created a web page with FileUpload control & a button.In button click event i have used the code as below.     


if (FileUpload1.HasFile)
{
FileUpload1.SaveAs(ConfigurationManager.AppSettings["FileUploadPath"].ToString() + FileUpload1.FileName); ...

Go to the complete details ...