Error in .NET WebApp

Nigel Manuel 1 Reputation point

Hello there! I'm making a website in localhost:5001 using Visual Studio when I noticed the Error page. I wanted to edit the page but I noticed an error. I don't know if this is a real error or not. Please tell me what to do!

An error occurred while processing your request.
Request ID: 00-6432dfea7dbc8743a6dfe1b7cccb29b9-3820e63a9642484c-00

Development Mode
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.

The exact address is https://localhost:5001/Error

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
9,936 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Srinivasan Arunachalam 6 Reputation points

    Check “env” tag in launch.json for your project, add the following

    “configurations”: [
    “env”: {


    1 person found this answer helpful.
    0 comments No comments