Deployment of webapi to azure app service fails with error "This page isn’t working"

Chad 1 Reputation point
2020-07-21T19:49:56.513+00:00

Hello All,

I hae deployed a web api project to my azure app and the services will not run.

I get a generic "This page isn’t working" error.

The application runs fine locally
The web deployment reports success.
I have checked via FTP and all of the files are their.
I have restarted the app service in azure console.
I have verified that my routing is working by going to a api endpoint that does not exist "/api/garbageurl" and get a cannot be found error. So the api is there and getting hit.
I've tried to deploy using FTP deploy (same result)

So i can confirm the files are there, the service is there, the service is being hit, but there is only a generic 500 "page isn't working error".

since the API works locally I'm assuming it must be a configuration or service problem with Azure.

I appreciate any help/thoughts anybody might have

Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
237 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,930 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 21,771 Reputation points
    2020-07-22T09:42:07.727+00:00

    Thanks for asking question! For troubleshooting the error in detail, you may refer to this blog on enabling CustomErrors as well as some other logging that may help in diagnose.

    You may also check out for web server logs by enabling diagnostic logs: https://learn.microsoft.com/en-us/azure/app-service/web-sites-enable-diagnostic-log

    Similar SO link here might be helpful.

    Let us know in case issue persists.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.