In Windows hosting, sometimes you may get the error message “500 Internal Server Error” for scripts such as asp, PHP and CGI or Server Application “/” Error for asp.net development.
In this case, if you are using Microsoft Internet Explorer, try to click Tools > Internet Options > Advanced Tab and disable the option ” Show Friendly HTTP Error Message”.Refresh your browser after this and you should get the actual error message in your coding.