You are not supposed to open a Image from Client machine. Instead save a copy in your
hosted Directory
and try to access it.
string fileName = FileUpload1.FileName;
var path = Path.Combine(Server.MapPath("~/Images/"), fileName);
FileUpload1.SaveAs(path);
System.Drawing.Image imageToBeResized = System.Drawing.Image.FromFile(path);