For anyone else who runs into this problem - I found my solution.
I had just upgraded ASP Identity to version 2.0.0 via Nuget, and when it installed the Microsoft.AspNet.Identity.EntityFramework package it changed my publish settings and seperated the AppliationDbContext
and the DefaultConnectionString
and this is what caused the problem.
What I had to do was literally as easy as to change the following to my ApplicationDbContext
ASP Identity 1.0.0
public ApplicationDbContext() : base("DefaultConnection")
{
}
ASP Identity 2.0.0
// Set the throwIfV1Schema to false...
public ApplicationDbContext() : base("DefaultConnection", throwIfV1Schema: false)
{
}
I have no idea why this didn't affect my local development version, but it's solved my issue. Hope this helps someone!