It happened in DbMigrator when created AbpUser tabble. The trouble field is CountryId, defined in AbpUser: [CountryId] UNIQUEIDENTIFIER DEFAULT ('00000000-0000-0000-0000-000000000000') Not NULL,
I thought that when first created table AbpUser, the table will create/fill CountryId with '00000000-0000-0000-0000-000000000000' as defined because this field can't be null. But the error indicated that the CountryId can't be null. I attempted to insert NULL in the field so I got the SQL Exception Error by Program.cs of DbMigrator when calling await CreateHostBuilder(args).RunConsoleAsync();
Thank you, Trang