C#C
C#16mo ago
morry329#

MySqlException: Table 'searchhome.aspnetusers' doesn't exist

So I wanted to do the following: I have already created a simple database with a table. On that db table some values have been added. I wanted to display that added value on my simple ASP.NET Core app. However, the dotnet run gave me the error as per screenshot attached
 (aspnetusers does not exist)


The
dotnet ef database update
leads to the same error (aspnetusers does not exist). I have tried adding that aspnetuser table or tried updating the database(
INSERT INTO 
__EFMigrationsHistory
 (
MigrationId
, 
ProductVersion
) VALUES ('00000000000000_CreateIdentitySchema', '7.0.2');
)

None of these helped me out.

All my codes are here https://pastebin.com/kdgjhGTu

Could anyone kindly point me in the right direction??
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Was this page helpful?