// options.UseSqlServer(Configuration.GetConnectionString("MsSqlConnection")) i think, this row must be as follows // options.UseSqlServer(Configuration.GetConnectionString("LocalDbConnection"))