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.