Base solution for your next web application
Open Closed

Azure Angular app returns Internal Server Error #4484


User avatar
0
affern created

My page returns Failed to load resource: the server responded with a status of 500 (Internal Server Error). GET <a class="postlink" href="https://mywebhost.azurewebsites.net/AbpUserConfiguration/GetAll">https://mywebhost.azurewebsites.net/Abp ... ion/GetAll</a> 500 (Internal Server Error) VM5832:350 ERROR: VM5832:350 {code: 0, message: "InternalServerError", details: null, validationErrors: null}

I had this working, but after my last deploy i get this error. My config settings looks fine. I run new host api core 2.0 version, but together with Angular 4 version. It runs fine on my local machine.


4 Answer(s)
  • User Avatar
    0
    alirizaadiyahsi created

    Hi @affern, could you check *.Host/AppData/Logs/Logs.txt to understand what errors are occured?

  • User Avatar
    0
    affern created

    There were app settings values that caused the error. When I ran the publish wizard, I checked for "use this connection string at run time". But Visual Studio inserted null for db user. The connection string in my app.settings.production was correct. When I published now I unchecked "use this connection string at run time" and it works.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks for the feedback @affern :)

  • User Avatar
    0
    tingwang created

    Thanks for the feedback @affern :)