This is a pretty general error message. You could try adjusting your Program.cs file to see if it'll give you a more specific error.
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder
.UseStartup<Startup>()
.UseSetting(WebHostDefaults.DetailedErrorsKey, "true"); // This should show more detailed errors
});
Also, make sure your host is using the same version of .Net Core that your app is running.
Posted 3 years ago
by selliott