Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

ASPNETCORE_ENVIRONMENT Development- Production problems

$
0
0

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 "

An error occurred while processing your request.

Development Mode

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. 
??
Ned


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>