I have an ASP.NET 3.1 project that get published to a windows server. When I run the project locally on my computer, it works fine; however, when I remote desktop into that windows server, I am getting a 500 error in the network tab and the following error:
I have changed my environment variable to Development in my Launch.json file, but still received the same error
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
When I looked in windows Event Viewer, I found this error:
Can someone help me figure out what is going on with this?