In Azure App Service, I added a virtual application. then Exported the published profile locally, added to VS and published to "site/sitename". it was successful and also showed the site. But after that i added files via ftp and site showing "The page cannot be displayed because an internal server error has occurred." After that tried several times even recreating the virtual application but same error. Still all code published to root is running good, but same with virtual application.