“Context cannot be used while the model is being created” exception with ASP.NET Identity

后端 未结 7 1253
遥遥无期
遥遥无期 2020-12-01 07:42

Why is this happening when we make a call to the AccountApiController.Register() method?

  • what is trying to use the context?
  • what is trying to create
7条回答
  •  独厮守ぢ
    2020-12-01 07:57

    This error can also occur in case of incorrect connectionString. Check if connectionString is valid (no typo etc.).

提交回复
热议问题