Web app deployement

Vishal Wanjari 0 Reputation points
2025-03-10T06:20:26.92+00:00

User's image

After successfully deploy a web app it show above error when i open the link.

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,222 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shree Hima Bindu Maganti 3,600 Reputation points Microsoft External Staff
    2025-03-12T07:42:51.5233333+00:00

    Hi @Vishal Wanjari
    If you're hitting an error after deploying your web app, it might be due to a few common issues,

    Make sure the app was deployed to the right folder on the hosting system. Double-check that all files and folders were moved correctly to the deployment folder. Verify that the web.config file is present and its contents are correct. This error means the app started but ran into a problem preventing it from fulfilling the request. You might need to enable logging to pinpoint the exact error.
    To fix these issues, you can try these steps:
    Delete all files and folders from the deployment folder.
    Redeploy the app's files using your usual method, ensuring the web.config file is included and properly configured.
    Compare the deployment on the hosting system with your project's publish folder to make sure all files are there.

    Troubleshoot ASP.NET Core on Azure App Service and IIS
    https://learn.microsoft.com/en-us/answers/questions/1298895/after-successful-deployment-of-application-to-web
    If the answer is helpful, please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.
    Let me know if you have any assistances.

    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.