May 16, 2020 12:02 AM|Norkle|LINK
I have a .Net Core 2.+ app, it publishes to my shared hosting fine thru web publish, and it worked (registering a user, data entering the SQl database) fine the first few times after i was able to publish it to remote server. Now when trying to register
a new user, when hitting "Register" button, it renders the "
Swapping to the Development environment displays detailed information about the error that occurred....
error. According to possible fix on https://www.tutorialsteacher.com/core/aspnet-core-environment-variable , I have gone into VS , right clicked on the project name, > Debug,
and changed the ASPNETCORE_ENVIRONMENT to Production (I also did likewise on the launchsettings.json ), still the same error.