Categories October Surprise 2024 System.IO.DirectoryNotFoundException: Could not find a part of the path Post author By Post date July 17, 2023 I think you should be careful with the fileupload.SaveAs (string filename) method. The filename in the method is the full path of the location on the server. You may specify the save path like this: āstring savePath = “c:\temp\uploads\”;ā