samedi 8 octobre 2016

trying for user authentication for a web app project in .Net

I am trying to build a bank web app as part of our course project, but I get this error regarding user : System.InvalidOperationException: The model backing the 'ApplicationDbContext' context has changed since the database was created. Consider using Code First Migrations to update the database ( When I try to migrate it gives error : The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "FK_dbo.WishLists_dbo.Accounts_AccountId". The conflict occurred in database "db_9b1d65373e9b4f0faa8eecf677186e7d", table "dbo.Accounts", column 'Id'. Plz help

Aucun commentaire:

Enregistrer un commentaire