you need to capture the actual error message. most likely its either configuration of identity, permissions on accessing the database or the debase was not properly deployed.
A community member has associated this post with a similar question:
How to connect to the database after publishing to .NET Core
Only moderators can edit this content.
HTTP Error 500.30 - ASP.NET Core app failed to start
jewel
1,186
Reputation points
This error is coming after publishing my dotnet core 8.0 on localhost. It is probably happening because of Microsoft.AspNetCore.Identity.EntityFrameworkCore package. Because if I publish without using this package, the error does not come. How can I get rid of the problem, if someone could help me, I would be benefited.
Community Center Not monitored
46,174 questions
{count} votes