Generally a 500 error means a code error with your ASP application.
By default we do not display errors remotely for good security practise.
To view the true error remotely you need to edit the web.config file in your wwwroot.
Simply remove the line below and save and republish it and errors will be shown remotely:
<httpErrors errorMode="DetailedLocalOnly" existingResponse="Auto" />