web app not working

sns 9,251 Reputation points
2023-06-27T11:08:29.22+00:00

I have deployed the dotnet package to web app

coming up with following error. I have restarted the app but no luck.

Please suggest.

User's image

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bryan Trach 17,832 Reputation points Microsoft Employee Moderator
    2023-06-28T02:00:51.15+00:00

    The "Application Error" message usually indicates that there is an issue with your web application. There could be several reasons why your web app is not working. Here are some steps you can take to troubleshoot the issue:

    1. Check the logs: You can check the logs for your web app to see if there are any error messages that can help you identify the issue. You can find the logs in the "Log stream" section of the Azure portal.
      Open the Azure portal and navigate to your web app.
      1. Click on the "Log stream" option in the left-hand menu.
      2. The log stream will open in a new window. You should see a stream of log messages from your web app.
      3. If you don't see any log messages, try refreshing the log stream by clicking on the "Refresh" button.
      4. If you see any error messages in the log stream, try to identify the cause of the error. The error message should give you some clues as to what went wrong.
      5. If you're not sure what the error message means, you can try searching for it online or posting it on a forum to get help from the community.
      6. Once you have identified the cause of the error, you can take steps to fix it. This may involve updating your code, configuration settings, or other aspects of your web app.
    2. Check the configuration: Make sure that the configuration settings for your web app are correct. Check the connection strings, app settings, and other configuration settings to ensure that they are correct.
    3. Open the Azure portal and navigate to your web app.

    Click on the "Configuration" option in the left-hand menu.

    You should see a list of configuration settings for your web app. Check the connection strings, app settings, and other configuration settings to ensure that they are correct.

    If you need to update a configuration setting, click on the setting to edit it. Make the necessary changes and click "Save" to apply the changes.

    1. Once you have verified that the configuration settings are correct, try restarting your web app to see if that resolves the issue.
    2. You should see a list of configuration settings for your web app. Check the connection strings, app settings, and other configuration settings to ensure that they are correct.
    3. Open the Azure portal and navigate to your web app.

    Click on the "Deployment Center" option in the left-hand menu.

    You should see a list of deployment sources for your web app. Click on the source that you used to deploy your web app.

    You should see a list of deployment logs for your web app. Check the logs to see if there were any errors during the deployment process.

    If you find any errors in the deployment logs, try to identify the cause of the error. The error message should give you some clues as to what went wrong.

    Once you have identified the cause of the error, you can take steps to fix it. This may involve updating your code, configuration settings, or other aspects of your web app.

    1. Once you have fixed the issue, try redeploying your web app to see if the issue has been resolved.|

    Let us know the outcome of following the above steps. If you are still having issues, can you please respond here and let us know. Also, it would be helpful to understand if the app has ever worked on Azure or if this is your first time.


Your answer

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