I know it´s a very old thread but, perhaps, my answer can help other people with the same issue.
In my case, it was hapenning because the solution was not really running. Due to inativity, IIS pool was put inert. In order to correct the things I just had to perform an access through the browser (or some tool as postman) to the application.
After that, just reload the apps and everything should work.