$http post resulting in 500 (Internal Server Error) with C# MVC after adding properties to built in User

后端 未结 1 1516
轻奢々
轻奢々 2021-01-26 13:36

I\'m getting a 500 Internal Server error when trying to register a new user with ASP.net\'s built in user authentication.

This was previously working for me, but now I\'

相关标签:
1条回答
  • 2021-01-26 14:24

    From the comments above, it is clearly a db migration error. Code for package manager console:

    enable-migrations
    add-migration InitialCreate
    update-database
    

    More info with example here.

    0 讨论(0)
提交回复
热议问题