The fault higher upwards is ordinarily caused yesteryear a database that is non aspnet enabled. For example, currently I accept a code-first database that is previously aspnet enabled as well as then I execute update-database -targetmigration:"0", therefore it removes all the tables as well as values.
The solution is to re-enable aspnet inward your database by;
1.) Running ascendence prompt from your Visual Basic 20xx Tools folder.
2.) Execute:
aspnet_regsql.exe -S <serverName> -U <dbUser> -P <dbPassword> -A all -d <dbName>
0 komentar:
Please comment if there are any that need to be asked.