Tks!
I tried to analyze the two tables. The left side shows a clean database plug-in that is normal (two more tables), and the right side shows an existing database that has been deleted(the2table). Then I re-executed
upload restart install then crash. What else have I ignored?
.\Nop.Web.exe
RegisterRoutes
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions.GetAuthenticationService(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions.AuthenticateAsync(HttpContext context, String scheme)
at Nop.Services.Authentication.CookieAuthenticationService.GetAuthenticatedCustomerAsync() in D:\code1\nopCommerce\src\Libraries\Nop.Services\Authentication\CookieAuthenticationService.cs:line 103
at Nop.Web.Framework.WebWorkContext.SetCurrentCustomerAsync(Customer customer) in D:\code1\nopCommerce\src\Presentation\Nop.Web.Framework\WebWorkContext.cs:line 241
at Nop.Web.Framework.WebWorkContext.GetCurrentCustomerAsync() in D:\code1\nopCommerce\src\Presentation\Nop.Web.Framework\WebWorkContext.cs:line 208
at Nop.Web.Framework.WebWorkContext.GetWorkingLanguageAsync() in D:\code1\nopCommerce\src\Presentation\Nop.Web.Framework\WebWorkContext.cs:line 359
at Nop.Services.Localization.LocalizationService.GetResourceAsync(String resourceKey) in D:\code1\nopCommerce\src\Libraries\Nop.Services\Localization\LocalizationService.cs:line 378
at Nop.Services.Plugins.PluginService.InstallPluginsAsync() in D:\code1\nopCommerce\src\Libraries\Nop.Services\Plugins\PluginService.cs:line 522
at Nop.Web.Framework.Infrastructure.Extensions.ApplicationBuilderExtensions.StartEngineAsync(IApplicationBuilder _) in D:\code1\nopCommerce\src\Presentation\Nop.Web.Framework\Infrastructure\Extensions\ApplicationBuilderExtensions.cs:line 69
at Nop.Web.Program.Main(String[] args) in D:\code1\nopCommerce\src\Presentation\Nop.Web\Program.cs:line 46
at Nop.Web.Program.<Main>(String[] args)
You can only continue to run after
deleting xxxxx
{
"InstalledPluginNames": [
"Obsolete field, using only for compatibility"
],
"InstalledPlugins": [
{
"SystemName": "Widgets.NivoSlider",
"Version": "4.70.2"
},
{
"SystemName": "DiscountRequirement.MustBeAssignedToCustomerRole",
"Version": "4.70.3"
}
],
"PluginNamesToUninstall": [],
"PluginNamesToDelete": [],
"PluginNamesToInstall": [
{
"Item1": "ExternalAuth.xxxxx01",
"Item2": "fdcb9d49-6ae2-475b-8583-d6d11380e4b4"
},
{
"Item1": "Payments.xxxxx02",
"Item2": "fdcb9d49-6ae2-475b-8583-d6d11380e4b4"
}
]
}