I’m creating a web application using ASP.net, I have already published it to my azure portal, but now it is crashing and I don’t know why. I just added one column to my model (and in database).
How can I fix it? Or how can I see the errors from azure server.
Also, I’ve seen my database didn’t update the new column, how could I do that?
In postman, I get below error
`
500 Internal server error
`
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
You can add the next code:
GlobalConfiguration.Configuration.IncludeErrorDetailPolicy = IncludeErrorDetailPolicy.Always;
in your
Global.asax
file project, and then you will see the erros when the server answers.
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0