Line 168: // Providing Path Line 169: string excelpath = Server.MapPath("~/Files/") + Path.GetFileName(FileUpload1.PostedFile.FileName); Line 170: FileUpload3.SaveAs(excelpath); Line 171: Line 172: string conString = string.Empty;