Cannot insert the value NULL into column 'UserName', table 'CurruptionControlInformationSystem.dbo.Login'; column does not allow nulls. INSERT fails.
Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0.
The statement has been terminated.
CSS
Line 53: { Line 54: db.Registrations.Add(registration); Line 55: await db.SaveChangesAsync(); Line 56: return RedirectToAction("Index"); Line 57: }
ramya bharathRank #3,780 · 391 reputationPosted Apr 12, 2015, 6:56 AM EDT
Vincent Maverick DuranoRank #238 · 10.3K reputationPosted Apr 29, 2015, 6:32 AM EDT