My Blazor server-side application ( Net.6.0, EF core 6, SQL ServerExpres) uses ASP net core identity to log users in. In Visual Studio 2022, the login is working okay, as well as in the remote website.
- On the local IIS server, Win 10, pages that do not require authorization working okay, but if I try to log in to the page: http://localhost:9054/Identity/Account/Login,
the following error appears:
An error occurred while processing your request.
Swapping to the Development environment displays detailed information about the error that occurred.
The Development environment shouldn't be enabled for deployed applications. It can result in displaying sensitive information from exceptions to end users. For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development and restarting the app."
In VS2002 there are no problems, the application enables the Development environment by setting the ASPNETCORE_ENVIRONMENT.
Could you help me?