c# - Error after removing 2 columns from 'AspNetUsers' table -


during initial create migration of asp.net identity project, removed columns 'phonenumber' & 'phonenumberconfirmed' aspnetusers table. when attempt register new users, error:

[sqlexception (0x80131904): invalid column name 'phonenumber'. invalid column name 'phonenumberconfirmed'.]  source file: \controllers\accountcontroller.cs    line: 155  line 153:            { line 154:                var user = new applicationuser { username =     model.email, email = model.email }; line 155:                var result = await usermanager.createasync(user, model.password); line 156:                if (result.succeeded) line 157:                {  

i'm guessing need update model , remove "phonenumber' , 'phonenumberconfirmed' fields, can't locate them in solution?


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -