Hi I cant seem to understand what's the problem here I keep getting this error message I tried using the debugger but it seems like its all working the way its supposed to but still it doesn't work here's the code
protected void btnSave_Click(object sender, EventArgs e)
{
    newsParagraf n = new newsParagraf();
    n.headTitle = txtHeader.Text;
    n.Article = txtArticle.Text;
    n.vids = txtVidLink.Text;
    string photoName = "";
    string extension = "";
    if (FuPhoto.HasFile)
    {
        photoName = Guid.NewGuid().ToString();
        extension = System.IO.Path.GetExtension(FuPhoto.PostedFile.FileName);
    }
    else
    {
        photoName = "Default";
        extension = "jpg";
    }
    string fileName = photoName + "." + extension;
    n.img = fileName;
    db.newsParagrafs.Add(n);
    db.SaveChanges();
    FuPhoto.SaveAs(Server.MapPath("~/images/" + fileName))
    txtArticle.Text = string.Empty;
    txtHeader.Text = string.Empty;
    txtVidLink.Text = string.Empty;
    Search();
    mvArtical.ActiveViewIndex = 0;
}
please help me am using entity framework on webforms
