BextiyarAtakisiyev-3429 avatar image
0 Votes"
BextiyarAtakisiyev-3429 asked AgaveJoe commented

Error when I want to run my website on server

An error occurred while processing your request.
Request ID: |xxxxxxxxxxxxxxxxxxxxxxxxx

Development Mode
Swapping to Development environment will display more 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.

This is my Error

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

There can be many reasons for this error. Usually the error is due to configuration. For example, trying to connect to a development SQL instance which does not exist on the server.

I recommend following the instructions in the error message and enabling development mode. Other option is using the command line dotnet run to start the application from the server. The error will be visible in the console.

One more option is to enable logging.

Log creation and redirection

See the official documentation for troubleshooting steps.

Troubleshoot and debug ASP.NET Core projects

0 Votes 0 ·

0 Answers