Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure (HTTP 500 Internal Server Error). I need a better error message

Tags:

azure

I only have one question, how to get a more detailed description of my error?

• I published my database to Azure. It works fine.

• I run my web site from my desk top (Visual Studio 2010) and it accesses my database in Azure with no problems.

• When I publish my web site to Azure I don't get any errors. But when I access the web page I get "HTTP 500 Internal Server Error". I need a more detailed error message.

I have custom Errors mode="Off". I downloaded from the "FTP Diagnostic Logs" but nothing is there.
I am not using a virtual machine.

Any ideas to get a better error message?

like image 698
user2487024 Avatar asked Jun 14 '13 21:06

user2487024


People also ask

What is HTTP 500 error and how do you fix it?

In most cases, a 500 Internal Server Error is due to an incorrect permission on one or more files or folders. In most of those cases, an incorrect permission on a PHP and CGI script is to blame. These should usually be set at 0755 (-rwxr-xr-x). A PHP Timeout.

Why do I keep getting 500 internal server error?

The 500 Internal Server error could be caused by an error during the execution of any policy within Edge or by an error on the target/backend server. The HTTP status code 500 is a generic error response. It means that the server encountered an unexpected condition that prevented it from fulfilling the request.


1 Answers

Taken from the question:

I figured it out.

  1. Go to your website in Azure
  2. Go to the configure page
  3. Roll down to a heading called site diagnostics
  4. Turn on detailed error message then click save at the bottom of the page.
  5. Your detailed errors will be logged in the diagnostics FTP site.

Don't know why it took me so long to find it.

like image 51
rhughes Avatar answered Oct 21 '22 02:10

rhughes